Skip Menu |

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

Report information
The Basics
Id: 95492
Status: new
Priority: 0/
Queue: DBD-Sybase

People
Owner: Nobody in particular
Requestors: EDAVIS [...] cpan.org
Cc:
AdminCc:

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



Subject: Segmentation fault when passing database handle to selectall_arrayref
This program segfaults: use DBI; $dbh = DBI->connect("dbi:Sybase:MYSERVER", 'myuser', 'mypassword'); $dbh->selectall_arrayref($dbh); The segfault is in ct.c (freetds 0.91-git0a42888) but I suspect that DBD::Sybase is passing a duff pointer to freetds. It should check that the argument to selectall_arrayref is some SQL text and not the database handle itself. DBD::Sybase 1.15, DBI 1.631, perl 5.18.2.