Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188550 - dev-perl/DBD-SQLite segfaults if a prepared statement is reused following error
Summary: dev-perl/DBD-SQLite segfaults if a prepared statement is reused following error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Public/Bug/Displa...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-12 10:04 UTC by Michael
Modified: 2008-02-27 18:41 UTC (History)
0 users

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


Attachments
test case (bug.pl,3.86 KB, text/plain)
2007-08-12 10:07 UTC, Michael
Details
patch (DBD-SQLite-1.13.patch,1.55 KB, patch)
2007-08-12 10:08 UTC, Michael
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 2007-08-12 10:04:33 UTC
If a prepared statement fails due eg to a disallowed duplicate column value then the handle is destroyed instead of reset.  A seqfault follows if it is resused. See link above for test script and patch.

If this is not fixed soon upstream should there be a gentoo patch? 

Reproducible: Always

Steps to Reproduce:
See perl script a link.
Comment 1 Michael 2007-08-12 10:07:17 UTC
Created attachment 127820 [details]
test case
Comment 2 Michael 2007-08-12 10:08:13 UTC
Created attachment 127822 [details, diff]
patch
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-27 18:41:35 UTC
Fixed quite some time ago according to usptream issue tracker.