67a9f79219
Change-Id: I4b71bbd3ff457d7b4fb2a409e8d34d8e4904acb3 Reviewed-on: https://gerrit.libreoffice.org/3676 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
12 lines
400 B
Diff
12 lines
400 B
Diff
diff -ru langtag.orig/liblangtag/lt-utils.c langtag/liblangtag/lt-utils.c
|
|
--- UnpackedTarball/langtag.orig/liblangtag/lt-utils.c 2013-04-22 10:06:57.000000000 +0200
|
|
+++ UnpackedTarball/langtag/liblangtag/lt-utils.c 2013-04-26 17:58:39.817351779 +0200
|
|
@@ -168,6 +168,8 @@
|
|
va_copy(ap, args);
|
|
|
|
size = vsnprintf(&c, 1, format, ap) + 1;
|
|
+ if (size == 0) // -1 + 1
|
|
+ abort();
|
|
|
|
va_end(ap);
|
|
|