* c-common.c (check_format_types): Check for writing through a
commitaad186d3b355ee14ce4d591c0c22cd6e7316af5b
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Oct 2000 16:09:35 +0000 (18 16:09 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Oct 2000 16:09:35 +0000 (18 16:09 +0000)
tree85c536f50f4a4636eb737ad764e804903e9b46cd
parent78ac74b93cde66893a24c2441f95ac26eec3579e
* c-common.c (check_format_types): Check for writing through a
NULL pointer argument.

testsuite:
* gcc.dg/c90-printf-1.c, gcc.dg/c90-scanf-1.c: Add tests for
writing through null pointers; remove comment about testing
unterminated strings.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36936 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/c90-printf-1.c
gcc/testsuite/gcc.dg/c90-scanf-1.c