Menu

#784 possible memory overwrite in main.c:L225

v2.4.x
closed-fixed
compyx
None
Linux
x64sc
2016-09-04
2016-09-03
No

latest svn has a problem in main.c at line 225. Malloc of 80 bytes will cause a memory overwrite, that will (possibly) destroy the next memory segment. Found on ubuntu 16.04, test by increasing to 250, which solved the issue.

Discussion

  • compyx

    compyx - 2016-09-04

    Confirmed. Thanks for reporting this.

    Enlarging the buffer doesn't actually fix anything, it just hides the bug in that section of code. I'll look into it.

     
  • compyx

    compyx - 2016-09-04

    Fixed in R31750.

     

    Last edit: compyx 2016-09-04
  • compyx

    compyx - 2016-09-04
    • status: open --> closed-fixed
    • assigned_to: compyx
     

Log in to post a comment.