summaryrefslogtreecommitdiffstats
path: root/test/Analysis/null-deref-ps-region.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Analysis/null-deref-ps-region.c')
-rw-r--r--test/Analysis/null-deref-ps-region.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/null-deref-ps-region.c b/test/Analysis/null-deref-ps-region.c
index f5e6956ff7..2bc338cd3f 100644
--- a/test/Analysis/null-deref-ps-region.c
+++ b/test/Analysis/null-deref-ps-region.c
@@ -51,7 +51,7 @@ void testHeapSymbol() {
void testStackArrayOutOfBound() {
char buf[1];
- memset(buf, 0, 1024); // expected-warning {{Memory set function accesses out-of-bound array element}}
+ memset(buf, 0, 1024); // expected-warning {{Memory set function accesses out-of-bound array element}} expected-warning {{'memset' will always overflow; destination buffer has size 1, but size argument is 1024}}
}
void testHeapSymbolOutOfBound() {