[En-Nut-Discussion] Bug #1799374: NutRegisterCgi() Parameter 1

Harald Kipp harald.kipp at egnite.de
Wed Apr 2 10:00:29 CEST 2008


Ole Reinhardt wrote:
> 
> I implemented a short fix that makes a copy of the passed string before
> saving it in the cgiFunctionList.
> 
> Provided ther is no reason contrary, I could check in my fix to CVS.
> 
> I also added a function to register a cgi-bin path other than cgi-bin/.
> I could add this function as well.

I clearly see the problem now. Like Nathan suggested, we may simply 
document the static data requirement. But, even if it costs additional 
RAM, I'd prefer the safer version. Please go ahead and check in your fix.

Thanks,

Harald




More information about the En-Nut-Discussion mailing list