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

Owner: Nobody in particular

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 infrastructure.

Please report any issues with to