Nick Kralevich 1aae9bd170 strncpy: implement _FORTIFY_SOURCE=2
Add support for fortify source level 2 to strncpy.
This will enable detection of more areas where strncpy
is used inappropriately. For example, this would have detected
bug 8727221.

Move the fortify_source tests out of string_test.cpp, and
put it into fortify1_test.cpp.

Create a new fortify2_test.cpp file, which copies all
the tests in fortify1_test.cpp, and adds fortify_source level
2 specific tests.

Change-Id: Ica0fba531cc7d0609e4f23b8176739b13f7f7a83
2013-04-29 15:22:10 -07:00
..
2010-12-06 12:05:11 +01:00
2013-04-29 15:22:10 -07:00
2011-09-28 12:17:34 -07:00
2013-01-11 16:44:15 -08:00
2010-01-15 15:57:02 -08:00
2010-01-15 15:57:02 -08:00
2012-09-13 16:54:57 -07:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:57:02 -08:00
2009-03-03 19:28:35 -08:00
2010-01-15 15:01:44 -08:00
2013-04-29 15:22:10 -07:00
2010-06-11 14:39:39 -07:00
2012-09-04 14:11:28 +02:00