commit | 7e5a9c29450b41cba63ac04b9c027d3b97b367ec | [log] [tgz] |
---|---|---|
author | cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Mon Feb 24 21:01:14 2014 +0000 |
committer | cborntra <cborntra@a5019735-40e9-0310-863c-91ae7b9d1cf9> | Mon Feb 24 21:01:14 2014 +0000 |
tree | bb81d337ab08f5285de421b7bc92ba15aab48c4d | |
parent | 812e2f9cfaf5fbd77bd8f65399c1722e1983c443 [diff] |
This fixes the shadow validity setup of SP,IA and FPC. The current code misses a char * cast and thus uses a wrong pointer for memset. This resulted in corruptions of a thread state for multi threaded programs. After vex: r2818 the memset did overwrite the tid value of a thread, making this bug visible. Lets use the c structures instead of pointer arithmetics. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13838 a5019735-40e9-0310-863c-91ae7b9d1cf9