Package: vbindiff Version: 3.0-beta4-1+b3 Severity: important Dear Maintainer,
The stretch Version of vbindiff has an easily triggerable segmentation
fault: Open two files, or even the same file two times, scroll until
end of file, boom.
This was fixed in buster, but the stretch version should see the fix in
the upcoming stable point release like in the debdiff below.
FWIW, the jessie version is not affected.
Christoph
diff -u vbindiff-3.0-beta4/debian/changelog vbindiff-3.0-beta4/debian/changelog
--- vbindiff-3.0-beta4/debian/changelog
+++ vbindiff-3.0-beta4/debian/changelog
@@ -1,3 +1,9 @@
+vbindiff (3.0-beta4-1+deb9u1) stretch; urgency=low
+
+ * Fix segmentation fault when scrolling down to end of file
+
+ -- Christoph Biedl <[email protected]> Fri, 15 Jun 2018
00:05:30 +0200
+
vbindiff (3.0-beta4-1) unstable; urgency=low
* New Upstream Release.
only in patch2:
unchanged:
--- vbindiff-3.0-beta4.orig/vbindiff.cpp
+++ vbindiff-3.0-beta4/vbindiff.cpp
@@ -487,6 +487,7 @@
buf[index++] = displayTable[data->line[i][j]];
}
+ if (index < 0) index = 0; // in case nothing was printed in this line
memset(buf + index, ' ', sizeof(buf) - index - 1);
memset(str, ' ', screenWidth - (str - buf2));
signature.asc
Description: PGP signature

