aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/scanner.c
diff options
context:
space:
mode:
authorDodji Seketeli <dodji@redhat.com>2013-02-14 04:37:56 +0000
committerDodji Seketeli <dodji@gcc.gnu.org>2013-02-14 05:37:56 +0100
commit8fb067263b60e184b2e0d303e1b8d40166e2bec4 (patch)
treec03eb36fdcf82d669b4a77807ee77c250bdb6195 /gcc/fortran/scanner.c
parent28d5c77761402501ed6604c581d27410c22bbf4b (diff)
downloadgcc-8fb067263b60e184b2e0d303e1b8d40166e2bec4.zip
gcc-8fb067263b60e184b2e0d303e1b8d40166e2bec4.tar.gz
gcc-8fb067263b60e184b2e0d303e1b8d40166e2bec4.tar.bz2
[asan] Fix a thinko leading to a crash
It appeared that in my previous patch, a stupid thinko can lead to a crash when instrumenting some builtin functionsK. Fixed thus. Bootstrapped and tested against trunk on x86_64-unknown-linux-gnu. gcc/ * asan.c (instrument_builtin_call): Really put the length of the second source argument into src1_len. gcc/testsuite/ * c-c++-common/asan/memcmp-2.c: New test. From-SVN: r196044
Diffstat (limited to 'gcc/fortran/scanner.c')
0 files changed, 0 insertions, 0 deletions