[R-sig-DB] [PATCH] segfault in RSQLite 0.5-4
Prof Brian Ripley
r|p|ey @end|ng |rom @t@t@@ox@@c@uk
Fri Jul 6 09:05:31 CEST 2007
Please send a patch to the maintainer, not a discussion list.
The latest version is in fact 0.6-0 in the 2.6.0/Other area of CRAN.
On Fri, 6 Jul 2007, Ashish Kulkarni wrote:
> 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
>
--
Brian D. Ripley, ripley using stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-sig-DB
mailing list