|
From: Nicholas N. <nj...@ca...> - 2004-04-13 08:47:39
|
CVS commit by nethercote:
Suppressions of jump errors were broken, because the size was zero and
so caused an assertion failure. So set size == 1 -- it's only used for
suppressions.
M +1 -0 mac_needs.c 1.24
--- valgrind/memcheck/mac_needs.c #1.23:1.24
@@ -474,4 +474,5 @@ void MAC_(record_jump_error) ( ThreadId
MAC_(clear_MAC_Error)( &err_extra );
err_extra.axskind = ExecAxs;
+ err_extra.size = 1; // size only used for suppressions
err_extra.addrinfo.akind = Undescribed;
VG_(maybe_record_error)( tid, AddrErr, a, /*s*/NULL, &err_extra );
|