bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Avoid undefined behavior of passing NULL to strcmp


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] Avoid undefined behavior of passing NULL to strcmp
Date: Wed, 05 Aug 2009 10:57:41 +0300

Carl Worth <address@hidden> ha escrit:

> As it turns out, the bug may or may not a segmentation fault. To be
> precise, the code is passing a NULL pointer to strcmp,

Are you sure this applies to tar 1.21? I don't see any way how
the code in update_argv might result in NULL entries being
inserted in argv.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]