#491 strLitBuff overflowed

closed
None
5
2003-03-28
2003-03-28
Anonymous
No

anders.hjelm@bolina.hsb.se
------------------------------------------
I'm using "nightly snapshot" 2.3.4 (2003-03-26) for
windows, and when compiling a source file with a fairly
large const char, the following is reported: Internal
error: strLitBuff overflowed. I managed to track
strLitBuff to SDCC.lex in the sdcc source code
package, and it states the size 2048 is perhaps
asking for trouble. As I don't think i will be able to
handle rebuilding the sdcc binarys, I'm instead asking
for this to be included in next release.

Best Regards
Anders

Discussion

  • Borut Ražem

    Borut Ražem - 2003-03-28
    • assigned_to: nobody --> borutr
     
  • Borut Ražem

    Borut Ražem - 2003-03-28
    • status: open --> closed
     
  • Borut Ražem

    Borut Ražem - 2003-03-28

    Logged In: YES
    user_id=568035

    * src/SDCC.lex: Fix for bug #711240: dynamic buffer handling
    of C literal strings in stringLiteral()
    * support/Util/dbuf.c, support/Util/dbuf.h: added: dynamic
    buffer handling
    * src/Makefile.bcc, src/Makefile.in, src\src.dsp: added
    support/Util/dbuf.c to the project

     

Log in to post a comment.