ODBC Problem

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: ODBC Problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-2825@lists.php.net to get a copy of this message
> Yes it did. free was being called instead of efree (line 1705 > unified_odbc.c in version 3.0.5, line 1871 in the latest version). > > The problem I was tracking - short memory allocation for hashed_default > (line 1766) did NOT exist - this appeared when the new layout for the > unified_odbc code was implemented. Actually, since Shane is likely to get more flack on this one. To be fair to him this problem was introduced before those large changes. The actual patch that introduced the bug is: http://cvs.php.net/cvsweb.cgi/functions/unified_odbc.c.diff?r1=1.78&r2=1.79&f=h This means that it has been in the code since September 14 and appeared in 3.0.4. Shane's major ODBC layout changes didn't happen until October 29 and were included in 3.0.5. Just clarifying this since Shane took some heat over that large patch. Note that both patches were his, so we can still beat on him! ;) By the way, nice work tracking this one down Steve. I spent some time looking at the changes since 3.0.5 and really couldn't see anything that would have cuased the problems you described. Turns out I didn't go back far enough. Since this problem has been in the code since 3.0.4 I am quite surprised that nobody has reported it. -Rasmus -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2825) next »