16 lines
531 B
Diff
16 lines
531 B
Diff
https://bugs.freedesktop.org/show_bug.cgi?id=10267
|
|
Fixes following warning:
|
|
cairo-truetype-subset.c:698: warning: call to __builtin___snprintf_chk will always overflow destination buffer
|
|
================================================================================
|
|
--- src/cairo-truetype-subset.c
|
|
+++ src/cairo-truetype-subset.c
|
|
@@ -676,7 +676,7 @@
|
|
cairo_truetype_font_write_post_table (cairo_truetype_font_t *font,
|
|
unsigned long tag)
|
|
{
|
|
- char buf[10];
|
|
+ char buf[11];
|
|
int n;
|
|
unsigned i;
|
|
|