From ac700bce63c8cc78104ff87d3864d3d656648273 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Mon, 25 Aug 2008 20:43:37 +0000 Subject: Fix more bugs in r5044 git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5087 c046a42c-6fe2-441c-8c8c-71466251a162 --- i386-dis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386-dis.c') diff --git a/i386-dis.c b/i386-dis.c index 0c97e1c7d1..5f69acaf39 100644 --- a/i386-dis.c +++ b/i386-dis.c @@ -2826,7 +2826,7 @@ static void oappend (s) const char *s; { - pstrcpy (obufp, (size_t)(obufp - obuf), s); + pstrcpy (obufp, sizeof(obuf) - (size_t)(obufp - obuf), s); obufp += strlen (s); } -- cgit v1.2.3