Skip Menu |
 

This queue is for tickets about the DBD-SQLite CPAN distribution.

Report information
The Basics
Id: 9789
Status: resolved
Priority: 0/
Queue: DBD-SQLite

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 1.07
Fixed in: (no value)



Subject: Invalid handle causes a segfault instead of exception
Download (untitled) / with headers
text/plain 376b
In selectall_arrayref (SQLite.xsi:119) and perhaps other places, if the statement attribute is SvROK, it is treated as prepared handle. If, by mistake, a reference to something else gets in, a segfault results. I suggest that the handle-ness be instead checked by sv_isa(st, appropriate-class-name). Perhaps a wrapper around DBIh_COM could do this check and croak on failure.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.