]> git.sur5r.net Git - cc65/commitdiff
The CodeEntry buffer array was one entry to small.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 19 Oct 2009 19:37:28 +0000 (19:37 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 19 Oct 2009 19:37:28 +0000 (19:37 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4381 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/codeopt.c

index b149e9b78e66fe18429932089ec6f1654891742f..9edbe411e2bc78c9a659ee49314c8cfc7615dd8a 100644 (file)
@@ -849,7 +849,7 @@ static unsigned OptPtrStore3 (CodeSeg* S)
     unsigned I = 0;
     while (I < CS_GetEntryCount (S)) {
 
-       CodeEntry* L[11];
+       CodeEntry* L[12];
        unsigned Len;
 
        /* Get next entry */