UdmSearch version: 3.1.16
Platform:
OS:
Database:
Statistics:
I\'ve been experiencing core dumps with search.cgi in cache mode. GDB backtrace shown
that the problem was in line 911 of cache.c, where the attempt was made to dereference
a null pointer \"table\". A quick investigation shown that it\'s allocated properly in
line 895, but gets zeroed after this call in line 898:
qsort(&table,(size_t)header.ntables,sizeof(UDM_CACHETABLE),cmptable);
It seemed to me that sorting a certain internal table was a good idea but sorting
routine stack was definitely not. :-) So, I changed &table to table and all the
crashes disappeared.
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]