fdo#74697 Add Bluez 5 support for impress remote.
[LibreOffice.git] / liblangtag / liblangtag-0.5.1-vsnprintf.patch
blob8ca5c6e7b3c4cffcbd7e1fd16ba136bd9ef25e69
1 diff -ru langtag.orig/liblangtag/lt-utils.c langtag/liblangtag/lt-utils.c
2 --- UnpackedTarball/langtag.orig/liblangtag/lt-utils.c 2013-04-22 10:06:57.000000000 +0200
3 +++ UnpackedTarball/langtag/liblangtag/lt-utils.c 2013-04-26 17:58:39.817351779 +0200
4 @@ -168,6 +168,8 @@
5 va_copy(ap, args);
7 size = vsnprintf(&c, 1, format, ap) + 1;
8 + if (size == 0) // -1 + 1
9 + abort();
11 va_end(ap);