[SCM] lv2core/master: Added patch to fix snprintf overflow
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Tue May 3 10:20:26 UTC 2011
The following commit has been merged in the master branch:
commit e7121dd10b26aa2619bece14ecd0ff1427e6d746
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Tue May 3 12:09:05 2011 +0200
Added patch to fix snprintf overflow
diff --git a/debian/patches/0002-serd_write_text_escape_buf_overflow.patch b/debian/patches/0002-serd_write_text_escape_buf_overflow.patch
new file mode 100644
index 0000000..76a7166
--- /dev/null
+++ b/debian/patches/0002-serd_write_text_escape_buf_overflow.patch
@@ -0,0 +1,15 @@
+Description: fixing snprintf overflow
+Author: Dan Muresan <danmbox3 at yahoo.ro>
+Forwarded: no
+
+--- a/serd-0.1.0.c
++++ b/serd-0.1.0.c
+@@ -2313,7 +2313,7 @@
+ write_text(SerdWriter writer, TextContext ctx,
+ const uint8_t* utf8, size_t n_bytes, uint8_t terminator)
+ {
+- char escape[10] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
++ char escape[15] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
+ for (size_t i = 0; i < n_bytes;) {
+ uint8_t in = utf8[i++];
+ switch (in) {
--
LV2 core packaging
More information about the pkg-multimedia-commits
mailing list