[R-sig-DB] [PATCH] segfault in RSQLite 0.5-4

Ashish Kulkarni @@h|@h@ku|k@rn| @end|ng |rom k@|yptor|@k@com
Fri Jul 6 08:34:43 CEST 2007


Hello,

I encountered a segfault in RSQLite 0.5-4, it was a null pointer dereference which was introduced in r246. Apparently, under certain conditions sqlite3_column_decltype() returns NULL, which wasn't checked for at all and caused SQLite_decltype_to_type() to segfault. I've attached the patch against 0.5-4.

Regards,
ashish

-------------- next part --------------
A non-text attachment was scrubbed...
Name: RSQLite_0.5-4_segfault.patch
Type: application/octet-stream
Size: 839 bytes
Desc: RSQLite_0.5-4_segfault.patch
URL: <https://stat.ethz.ch/pipermail/r-sig-db/attachments/20070706/04cf4069/attachment.obj>


More information about the R-sig-DB mailing list