tag:blogger.com,1999:blog-7094652.post4907900932634640926..comments2024-03-23T14:36:09.980+00:00Comments on Neil Mitchell's Blog (Haskell etc): Buffer smashing in NSISNeil Mitchellhttp://www.blogger.com/profile/13084722756124486154noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7094652.post-30262408791103234012013-04-21T19:25:55.178+01:002013-04-21T19:25:55.178+01:00Thanks for the information. I never realised that ...Thanks for the information. I never realised that fixed-size strings were intentional (and I would never have guessed a current/modern application would use them!). I guess the file write is deliberate, but the segfault in lexing is a genuine bug.Neil Mitchellhttps://www.blogger.com/profile/13084722756124486154noreply@blogger.comtag:blogger.com,1999:blog-7094652.post-51375361454983568712013-04-18T18:50:20.815+01:002013-04-18T18:50:20.815+01:00For the Haskell Platform installer I use a special...For the Haskell Platform installer I use a special build of NSIS with large strings enabled (8192 instead of 1024).<br /><br />http://nsis.sourceforge.net/Special_Builds<br /><br />Short strings can produce some quite nasty bugs:<br /><br />http://nsis.sourceforge.net/Environmental_Variables:_append,_prepend,_and_remove_entries#WarningMikhail Glushenkovhttps://www.blogger.com/profile/16766775468165268210noreply@blogger.com