Nicholas Nethercote bbfc62ea8c Fixed bug in overlap check in strncpy() -- it was assuming the src was 'n'
bytes longs, when it could be shorter, which could cause false positives.

Added an example of this to the regtest.

MERGE TO STABLE


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1983
2003-11-02 17:43:27 +00:00
..
2003-05-28 01:02:46 +00:00
2003-07-13 22:35:55 +00:00
2003-07-13 22:35:55 +00:00
2003-09-29 14:45:44 +00:00
2003-10-09 15:40:38 +00:00
2003-10-09 15:40:38 +00:00
2003-06-01 20:04:10 +00:00
2002-10-07 14:46:07 +00:00