Menu

Pretty print buffer overflow

Help
vranoch
2017-10-02
2017-10-02
  • vranoch

    vranoch - 2017-10-02

    Hello Gary,

    I found that for more complex expressions the inicialization of the pretty print buffer overflows. The original buffer size is 120 characters, I patched it in my copy to 1024. Isn't there any way to make it not hard-coded?

    Thanks Vranoch

    file: pprint.c

    globle void PPCRAndIndent(
      void *theEnv)
      {
       int i;
       **char buffer[1024];**
    
     
  • Gary Riley

    Gary Riley - 2017-10-02

    Fix checked into svn repository.

     

Log in to post a comment.