diff options
Diffstat (limited to 'devel/nasm/patches/patch-af')
-rw-r--r-- | devel/nasm/patches/patch-af | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/nasm/patches/patch-af b/devel/nasm/patches/patch-af new file mode 100644 index 00000000000..1166fde3483 --- /dev/null +++ b/devel/nasm/patches/patch-af @@ -0,0 +1,13 @@ +$NetBSD: patch-af,v 1.1 2005/01/06 13:06:10 adrianp Exp $ + +--- listing.c.orig 2002-09-11 22:23:54.000000000 -0400 ++++ listing.c 2004-12-15 13:05:05.000000000 -0500 +@@ -192,7 +192,7 @@ + else if (typ == OUT_RESERVE) + { + char q[20]; +- sprintf(q, "<res %08lX>", size); ++ snprintf(q, sizeof(q), "<res %08lX>", size); + list_out (offset, q); + } + } |