bug-gnulib
[Top][All Lists]
Advanced

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

Re: Undefined behavior in lib/canonicalize-lgpl.c


From: Paul Eggert
Subject: Re: Undefined behavior in lib/canonicalize-lgpl.c
Date: Thu, 10 Sep 2020 14:52:44 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 9/10/20 6:34 AM, Adhemerval Zanella wrote:
I think the lib/canonicalize.c is also affected:

Thanks for the heads-ups. I installed the attached patch to Gnulib, which fixes a related bug I noticed while in the neighborhood (I don't think glibc has this bug).

This patch uses the expression (rpath_limit - dest <= end - start) which I found a little easier to grok.

Attachment: 0001-canonicalize-fix-pointer-indexing-bugs.patch
Description: Text Data


reply via email to

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