diff options
author | Zeev Suraski <zeev@php.net> | 1999-05-10 20:46:42 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-05-10 20:46:42 +0000 |
commit | 74a9ed7b3f0b9a11c197612a100c50f041747ad0 (patch) | |
tree | 4d172575fdf94ec8cde9998f4ed1793f3475301a /Zend/zend_alloc.c | |
parent | ea0f19850e26477918736c617d51e624928f9d00 (diff) | |
download | php-git-74a9ed7b3f0b9a11c197612a100c50f041747ad0.tar.gz |
Weed out all BoundsChecker-found bugs (including a serious file descriptor leak
in the C++ scanner)
Diffstat (limited to 'Zend/zend_alloc.c')
-rw-r--r-- | Zend/zend_alloc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zend/zend_alloc.c b/Zend/zend_alloc.c index c4a431e8e8..21bcc40c0f 100644 --- a/Zend/zend_alloc.c +++ b/Zend/zend_alloc.c @@ -459,6 +459,12 @@ ZEND_API int _mem_block_check(void *ptr, int silent, char *filename, int lineno) fprintf(stderr,"Unknown\n"); } } + + if (had_problems) { + int foo = 5; + + foo+=1; + } if (!silent) { fprintf(stderr,"---------------------------------------\n"); |