diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-25 20:43:37 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-25 20:43:37 +0000 |
commit | 35f48f5ac0f8d34c279a8acb5e84883427812d52 (patch) | |
tree | 7cd3b7b4359f0e5f4adabc8e09b6f462a0d25cd3 /i386-dis.c | |
parent | 541fb42de4df0f351a9f777a8aeae53dbeb8a00a (diff) | |
download | qemu-35f48f5ac0f8d34c279a8acb5e84883427812d52.tar.gz qemu-35f48f5ac0f8d34c279a8acb5e84883427812d52.tar.bz2 qemu-35f48f5ac0f8d34c279a8acb5e84883427812d52.zip |
Fix more bugs in r5044
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5087 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'i386-dis.c')
-rw-r--r-- | i386-dis.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |