bug-tar
[Top][All Lists]
Advanced

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

Re: Potential Null pointer dereference in tar 1.35


From: Sergey Poznyakoff
Subject: Re: Potential Null pointer dereference in tar 1.35
Date: Fri, 22 Sep 2023 16:43:41 +0200
User-agent: MH (GNU Mailutils 3.15)

Hi Martin,

> The latest version looks correct to me too, but I think it would crash
> if the final node in the chain has the _WSNF_JOIN flag.  If this is
> supposed to be impossible,

Yes, that's right: the _WSNF_JOIN flag indicates that this node is to
be joined with the one that follows it, so the next pointer is
guaranteed to be non-NULL.

Regards,
Sergey




reply via email to

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