2003-07-16 Marcel Telka <marcel@telka.sk>

* src/jtag.c (jtag_parse_line): Fixed invalid memory allocation size (core dump).


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@491 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Marcel Telka 22 years ago
parent e1179f5534
commit 1632019141

@ -1,3 +1,7 @@
2003-07-16 Marcel Telka <marcel@telka.sk>
* src/jtag.c (jtag_parse_line): Fixed invalid memory allocation size (core dump).
2003-07-01 Marcel Telka <marcel@telka.sk>
* include/bus.h (new_sh7750r_bus, new_bcm1250_bus): New function declarations (patch 753300, Matan Ziv-Av).

@ -12,6 +12,7 @@ See libbrux/NEWS for more news.
- removed explicit JTAG chain length detection (patch 753298, Matan Ziv-Av)
- simplified output messages
- removed support for report results to file
* Fixed invalid memory allocation size (core dump) in jtag_parse_line() function.
* Minor bugs fixed.
jtag-0.4 (2003-05-29):

@ -151,7 +151,7 @@ jtag_parse_line( char *line )
if (n + 2 > l) {
char **newa;
l = (l < 16) ? 16 : (l * 2);
newa = realloc( a, l );
newa = realloc( a, l * sizeof (char *) );
if (!newa) {
free( a );
printf( _("Out of memory\n") );

Loading…
Cancel
Save