Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86858 - Serious SQLite 3.2.0 memory coruption when using ALTER TABLE .. ADD COLUMN
Summary: Serious SQLite 3.2.0 memory coruption when using ALTER TABLE .. ADD COLUMN
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Tal Peer (RETIRED)
URL: http://www.sqlite.org/cvstrac/tktview...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-27 05:21 UTC by Dizzy
Modified: 2005-03-29 08:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix the ALTER memory coruption bug. (sqlite-3.2.0-alter_mem_coruption.patch,1.72 KB, patch)
2005-03-27 05:22 UTC, Dizzy
Details | Diff
Patch to create sqlite-3.2.0-r1.ebuild from 3.2.0. (sqlite-3.2.0-3.2.0-r1.patch,475 bytes, patch)
2005-03-27 05:24 UTC, Dizzy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dizzy 2005-03-27 05:21:29 UTC
Hi

Background: SQLite 3.2.0 has added support for ALTER TABLE ... ADD COLUMN.

Problem: Unfortunetly there is a memory allocation bug that is triggered rather easy, I have reported the problem and SQLite team has very promptly commited a fix for this; it will probably be in SQLite 3.2.1. 

Please update Portage with an ebuild that patches this fix thanks!


Reproducible: Always
Steps to Reproduce:
See the URL.
Comment 1 Dizzy 2005-03-27 05:22:34 UTC
Created attachment 54591 [details, diff]
Patch to fix the ALTER memory coruption bug.

See http://www.sqlite.org/cvstrac/tktview?tn=1183 and
http://www.sqlite.org/cvstrac/chngview?cn=2419
Comment 2 Dizzy 2005-03-27 05:24:41 UTC
Created attachment 54593 [details, diff]
Patch to create sqlite-3.2.0-r1.ebuild from 3.2.0.
Comment 3 Andy Lutomirski 2005-03-29 07:48:07 UTC
Sqlite 3.2.1 is out and fixes this.
Comment 4 Anders Rune Jensen (RETIRED) gentoo-dev 2005-03-29 08:22:55 UTC
Good work Dizzy, you guys are faster than freshmeat to update :)

3.2.1 added to cvs.