Hi,
correct me, if I'm wrong, but I found bunch of calls to calloc(), that seem to me to have bad order of arguments. The interface is void *calloc(size_t num, size_t size), but here is an example: tdo_buffer_start = calloc(sizeof(uint8_t), scan_size_bytes);.
At some locations there it is even combination of corrent and in-correct calls, like here.
Another locations can be easily found, when searching for calloc(sizeof(.
It is possible, it is just that I didn't look into the code deeper and more thoroughly, I indeed didn't, but...
EDIT: It seems this problem was fixed upstream about half year ago, so maybe it is somewhere in the queue already.
Hi,
correct me, if I'm wrong, but I found bunch of calls to
calloc(), that seem to me to have bad order of arguments. The interface isvoid *calloc(size_t num, size_t size), but here is an example:tdo_buffer_start = calloc(sizeof(uint8_t), scan_size_bytes);.At some locations there it is even combination of corrent and in-correct calls, like here.
Another locations can be easily found, when searching for
calloc(sizeof(.It is possible, it is just that I didn't look into the code deeper and more thoroughly, I indeed didn't, but...
EDIT: It seems this problem was fixed upstream about half year ago, so maybe it is somewhere in the queue already.