projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c2b238
)
use bb_xstrndup vs strndup. Thanks rfelker.
author
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Wed, 1 Mar 2006 05:39:41 +0000
(
05:39
-0000)
committer
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Wed, 1 Mar 2006 05:39:41 +0000
(
05:39
-0000)
archival/libunarchive/get_header_tar.c
patch
|
blob
|
history
diff --git
a/archival/libunarchive/get_header_tar.c
b/archival/libunarchive/get_header_tar.c
index 19793b71898b4133979570b79edefea507295c6b..eeabf3f5b8e8dc830d454040e25b7c6e0a5e99df 100644
(file)
--- a/
archival/libunarchive/get_header_tar.c
+++ b/
archival/libunarchive/get_header_tar.c
@@
-109,7
+109,7
@@
extern char get_header_tar(archive_handle_t *archive_handle)
} else
#endif
{
- file_header->name = strndup(tar.formated.name,100);
+ file_header->name =
bb_x
strndup(tar.formated.name,100);
if (tar.formated.prefix[0]) {
char *temp = file_header->name;