The topic of re-selling a used camera with CHDK on it came up in a discussion with a lawyer friend. He thinks distribution of CHDK could be problematic if it contains parts of Canon's firmware for which Canon holds the intellectual property right. Any insights?
If you need a competent legal opinion about this, you should consult a lawyer who specializes in software IP in your jurisdiction.
However, just to be clear from a technical point of view, CHDK is not present on the
camera unless it is powered on and CHDK is loaded from the SD card. When the camera is not powered on, CHDK is only present on the
SD card. So there's no way the camera itself could be encumbered by any problems CHDK may have.
Distributing CHDK (on SD cards or otherwise, with a camera or not) may or may not raise legal concerns, but if you're selling a used camera, erasing any included cards would avoid distributing CHDK.