Closed
Description
There is a calloc
warning/error returned from line 1524
in src/jtag/drivers/ulink.c
:
tdo_buffer_start = calloc(sizeof(uint8_t), scan_size_bytes);
The error causes a warning message but this can and is treated as an error, as follows:
Error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument`
A suggested fix is:
tdo_buffer_start = calloc(scan_size_bytes, sizeof(uint8_t));
Metadata
Metadata
Assignees
Labels
No labels