diff options
author | Liubov Dmitrieva <liubov.dmitrieva@intel.com> | 2012-12-19 18:56:40 +0400 |
---|---|---|
committer | Liubov Dmitrieva <ldmitrie@sourceware.org> | 2013-10-23 19:07:37 +0400 |
commit | 2b9f19a28fc9d6a5c2b21df41e7b9b6f725915fd (patch) | |
tree | 5cee2d3fec744f9ec69a328175b42e7cc07dc682 | |
parent | 5fb331d20bb10ce4cb19734728bf51d28dde42b8 (diff) | |
download | glibc-2b9f19a28fc9d6a5c2b21df41e7b9b6f725915fd.tar glibc-2b9f19a28fc9d6a5c2b21df41e7b9b6f725915fd.tar.gz glibc-2b9f19a28fc9d6a5c2b21df41e7b9b6f725915fd.tar.bz2 glibc-2b9f19a28fc9d6a5c2b21df41e7b9b6f725915fd.zip |
Buffer overrun detected by Intel MPX in stdio-common/scanf13.c. Fixed.
-rw-r--r-- | stdio-common/scanf13.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdio-common/scanf13.c b/stdio-common/scanf13.c index 720224aa05..aa58dd5d4a 100644 --- a/stdio-common/scanf13.c +++ b/stdio-common/scanf13.c @@ -59,6 +59,7 @@ main (void) } memset (buf, '/', sizeof (buf)); + buf[sizeof(buf) - 1] = 0; buf[0] = '\t'; buf[1] = ' '; buf[2] = 0xc3; |