]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Audit a buffer.
authorFlorian Krohm <florian@eich-krohm.de>
Tue, 23 Dec 2014 11:05:03 +0000 (11:05 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Tue, 23 Dec 2014 11:05:03 +0000 (11:05 +0000)
git-svn-id: svn://svn.valgrind.org/vex/trunk@3044

VEX/priv/host_s390_defs.c

index c17335a0b32bb0a46c247d105b1b78b5bf9c4265..432b985b584a95359447a53e42258a899f3fb525 100644 (file)
@@ -6456,7 +6456,7 @@ s390_sprintf(HChar *buf, const HChar *fmt, ...)
 const HChar *
 s390_insn_as_string(const s390_insn *insn)
 {
-   static HChar buf[300];
+   static HChar buf[300];  // large enough
    const HChar *op;
    HChar *p;