|
From: | Xu Zhongxing |
Subject: | [Bug-tar] Potential NULL pointer passed to strlen() |
Date: | Fri, 28 Oct 2011 17:35:04 +0800 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 |
In git version, file rtapelib.c, rmt_open__(), remote_file is initialized to 0. It's not guaranteed to be assigned a new pointer, then passed to strlen(), which would cause a crash. At line 528: size_t remote_file_len = strlen(remote_file). - Xu Zhongxing |
[Prev in Thread] | Current Thread | [Next in Thread] |