apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: Crash in MySQL library
Date Fri, 15 Jun 2007 11:33:26 GMT
On Fri, 15 Jun 2007 12:17:01 +0200
Maarten Engelen <maarten@iridia.nl> wrote:

> 124                 (*results)->random = seek;

That must be an old version of the driver.

> Two lines above that line the *results structure is allocated, so

Only if it was NULL on entry (that's so a results object can be
re-used).  You presumably called select with an pointer to an
uninitialised pointer.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message