Bug#557045: cppcheck: please recognise that read(2) can lead to buffer overflows

2009-11-20 Thread Reijo Tomperi
Hi, Thanks for the report! First case reported and fixed in upstream trunk: http://sourceforge.net/apps/trac/cppcheck/ticket/985 Second case reported to upstream: https://sourceforge.net/apps/trac/cppcheck/ticket/991 -- Reijo -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian

Bug#557045: cppcheck: please recognise that read(2) can lead to buffer overflows

2009-11-18 Thread Raphael Geissert
Package: cppcheck Version: 1.38-1 Severity: wishlist Hi, It would be great if cppcheck detected the two buffer overflows demonstrated on the attached test case. Cheers, -- Raphael Geissert - Debian Developer www.debian.org - get.debian.net int fd=0; void foo(void) { charbuf[10];