Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 86858

Summary: Serious SQLite 3.2.0 memory coruption when using ALTER TABLE .. ADD COLUMN
Product: Gentoo Linux Reporter: Dizzy <dizzy>
Component: New packagesAssignee: Tal Peer (RETIRED) <coredumb>
Status: RESOLVED FIXED    
Severity: major CC: arj
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.sqlite.org/cvstrac/tktview?tn=1183
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to fix the ALTER memory coruption bug.
Patch to create sqlite-3.2.0-r1.ebuild from 3.2.0.

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.