UdmSearch version: 3.1.12
Platform:          
OS:                Solaris 7
Database:          built-in
Statistics:        


Bug in sprintf in search.c (line 853), glang is null
sometimes and causes sprintf to crash. My simple fix, without knowing
if it is appropriate, is:

pl.apteryx>diff search.c search.c~
853,854c853
<                 if (Agent->glang)
<                   sprintf(UDM_STREND(Target),\"%s\",Agent->glang);
---
>                 sprintf(UDM_STREND(Target),\"%s\",Agent->glang);


After that fix I got some output from search.cgi at least.

Happy Hacking!

--Per


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to