eabebae1fe
Notable changes in this release: * multiscreen support (pops up on all configured displays) * support for Xinerama * a new +title option * better escalation handling * +verbose option
13 lines
537 B
Plaintext
13 lines
537 B
Plaintext
$OpenBSD: patch-gifread_c,v 1.2 2002/05/10 11:16:03 naddy Exp $
|
|
--- gifread.c.orig Wed May 8 18:51:08 2002
|
|
+++ gifread.c Wed May 8 18:52:01 2002
|
|
@@ -828,7 +828,7 @@ read_gif(Gif_Reader *grr, int read_flags
|
|
default:
|
|
if (!unknown_block_type) {
|
|
char buf[256];
|
|
- sprintf(buf, "unknown block type %d at file offset %d", block, gifgetoffset(grr) - 1);
|
|
+ snprintf(buf, sizeof(buf), "unknown block type %d at file offset %d", block, gifgetoffset(grr) - 1);
|
|
gif_read_error(&gfc, buf);
|
|
unknown_block_type = 1;
|
|
}
|