apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bojan Smojver <bo...@rexursive.com>
Subject Re: [PATCH]: Fix column name memory allocation for SQLite3
Date Thu, 09 Mar 2006 00:01:58 GMT
Quoting Garrett Rooney <rooneg@electricjellyfish.net>:

> Just committed the column names patch to trunk, and will look at the
> bounds checking stuff when I get a chance.

Thanks.

> BTW, does the column names
> stuff need to be fixed in the sqlite2 implementation as well?

It shouldn't need fixing, because sqlite2 calls sqlite_get_table, which 
preallocates memory for the whole result using malloc, which then 
includes column names too. Sqlite3 driver uses different logic to build 
results, so it needed column names allocation fix.

-- 
Bojan

Mime
View raw message