|
From: | Petr Sumbera |
Subject: | [Bug-tar] Potential write to null pointer |
Date: | Thu, 13 Sep 2012 15:53:52 +0200 |
User-agent: | Mozilla/5.0 (X11; SunOS i86pc; rv:10.0.6esrpre) Gecko/20120731 Thunderbird/10.0.6 |
Hi,functions find_next_block() and start_header() seems to return at some cases NULL. But not all usages of this functions do check return values. Actually there are many cases where this is not the case.
E.g. See src/buffer.c and look for find_next_block() use.While tar seems to work maybe there are some cases where we could expect nice crash. Any comments to this?
Thanks, Petr
[Prev in Thread] | Current Thread | [Next in Thread] |