Use calloc() instead of malloc() - fixes integer overflow...
...assuming you have non-buggy calloc() implementation.
Pointed-out-by: Drew Yao
Signed-off-by: Rémi Denis-Courmont <rem@videolan.org>
Showing
Please register or sign in to comment