Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
Description
On OS X 10.11.4, current trunk fails to build livecd, because makecd crashes.
The crash seems to be caused by sprintf() detecting a buffer overrun.
In cdmake.c, line 741 and 741, the code assumes name_on_cd has a size of at least 14, but it's declared as being MAX_CDNAME_LENGTH+1, which is 9. Maybe MAX_CDNAME_LENGTH should be defined to be 13 instead of 8?