Files
perl-DBD-SQLite2/perl-DBD-SQLite2-no-return-in-nonvoid-function.patch
Lars Vogdt 900f3d7e4b - added perl-DBD-SQLite2-fetchrow.patch from Debian:
Fix segfault when fetchrow() is called again after it has
  returned an empty list once. (#317453)
- added perl-DBD-SQLite2-no-return-in-nonvoid-function.patch:
  Fix function returning random data

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-DBD-SQLite2?expand=0&rev=3
2012-06-07 17:53:33 +00:00

13 lines
347 B
Diff

Index: DBD-SQLite2-0.33/dbdimp.c
===================================================================
--- DBD-SQLite2-0.33.orig/dbdimp.c
+++ DBD-SQLite2-0.33/dbdimp.c
@@ -459,6 +459,7 @@ sqlite2_bind_ph (SV *sth, imp_sth_t *imp
else {
av_store(imp_sth->params, SvIV(param) - 1, SvREFCNT_inc(value));
}
+ return -1;
}
AV *