mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +00:00
This kind of paranoia is a debug option at best.
This commit is contained in:
parent
cd545287c5
commit
8bbdb8732f
@ -80,7 +80,7 @@ char * bb_xstrndup (const char *s, int n)
|
|||||||
{
|
{
|
||||||
char *t;
|
char *t;
|
||||||
|
|
||||||
if (s == NULL)
|
if (ENABLE_DEBUG && s == NULL)
|
||||||
bb_error_msg_and_die("bb_xstrndup bug");
|
bb_error_msg_and_die("bb_xstrndup bug");
|
||||||
|
|
||||||
t = xmalloc(++n);
|
t = xmalloc(++n);
|
||||||
|
Loading…
Reference in New Issue
Block a user