Real: fix heap buffer overflow (CVE-2010-3907)
Malformatted files may have a zero i_subpackets value. In this case,
we cannot use the array, but we still have to free it (calloc(0)).
This should fix LP#690173.
Reported-by: Dan Rosenberg <drosenberg@vsecurity.com>
(cherry picked from commit 6568965770f906d34d4aef83237842a5376adb55)
Showing
Please register or sign in to comment