File isql-buffer-overflow.patch of Package virtuoso

--- binsrc/tests/isql.c	2011-03-28 15:09:54.000000000 +0200
+++ binsrc/tests/isql.c	2011-07-08 13:08:16.359078462 +0200
@@ -10251,7 +10251,7 @@
 {
   TCHAR tmp1[2002];
 
-  return (isqlt_fgetts (tmp1, (sizeof (tmp1) - 1), html_infp));
+  return (isqlt_fgetts (tmp1, ((sizeof (tmp1) / sizeof (TCHAR)) - 1), html_infp));
 }
 
 /* Return the whole string in one piece. After that return NULL.
openSUSE Build Service is sponsored by