RicoCasta / opencinematools

Automatically exported from code.google.com/p/opencinematools
0 stars 0 forks source link

array bound overwrite in mkmap #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
mkmap.cpp:403:  filebuff = (byte_t*)malloc(size);
mkmap.cpp:411:  filebuff[size] = 0;

the malloc() on line 403 needs to be for size+1 bytes, otherwise line 411
writes beyond the end of the allocated area.

Original issue reported on code.google.com by danssp...@gmail.com on 8 May 2008 at 9:51

GoogleCodeExporter commented 8 years ago

Original comment by marc.van...@gmail.com on 30 Mar 2009 at 2:33

GoogleCodeExporter commented 8 years ago
fixed in upcomming version 1.1.2

Original comment by marc.van...@gmail.com on 17 Jun 2009 at 4:12