Re: [PATCH] udf: Fix regression which is preventing symlink access

2021-09-16 Thread Daniel Kiper
On Wed, Sep 15, 2021 at 10:52:40PM +, Glenn Washburn wrote: > On Wed, 15 Sep 2021 16:52:28 +0200 > Daniel Kiper wrote: > > > On Tue, Sep 14, 2021 at 06:19:03PM +, Glenn Washburn wrote: > > > On Tue, 14 Sep 2021 16:27:55 +0200 > > > Daniel Kiper wrote: > > > > > > > On Fri, Sep 10, 2021

Re: [PATCH] udf: Fix regression which is preventing symlink access

2021-09-15 Thread Glenn Washburn
On Wed, 15 Sep 2021 16:52:28 +0200 Daniel Kiper wrote: > On Tue, Sep 14, 2021 at 06:19:03PM +, Glenn Washburn wrote: > > On Tue, 14 Sep 2021 16:27:55 +0200 > > Daniel Kiper wrote: > > > > > On Fri, Sep 10, 2021 at 04:03:23PM +, Glenn Washburn wrote: > > > > This code was broken by

Re: [PATCH] udf: Fix regression which is preventing symlink access

2021-09-15 Thread Daniel Kiper
On Tue, Sep 14, 2021 at 06:19:03PM +, Glenn Washburn wrote: > On Tue, 14 Sep 2021 16:27:55 +0200 > Daniel Kiper wrote: > > > On Fri, Sep 10, 2021 at 04:03:23PM +, Glenn Washburn wrote: > > > This code was broken by commit 3f05d693 ("malloc: Use overflow > > > checking primitives where we

Re: [PATCH] udf: Fix regression which is preventing symlink access

2021-09-14 Thread Glenn Washburn
On Tue, 14 Sep 2021 16:27:55 +0200 Daniel Kiper wrote: > On Fri, Sep 10, 2021 at 04:03:23PM +, Glenn Washburn wrote: > > This code was broken by commit 3f05d693 ("malloc: Use overflow > > checking primitives where we do complex allocations"), which added > > overflow checking in many areas.

Re: [PATCH] udf: Fix regression which is preventing symlink access

2021-09-14 Thread Daniel Kiper
On Fri, Sep 10, 2021 at 04:03:23PM +, Glenn Washburn wrote: > This code was broken by commit 3f05d693 ("malloc: Use overflow checking > primitives where we do complex allocations"), which added overflow checking > in many areas. The problem here is that the changes update the local > variable

[PATCH] udf: Fix regression which is preventing symlink access

2021-09-10 Thread Glenn Washburn
This code was broken by commit 3f05d693 ("malloc: Use overflow checking primitives where we do complex allocations"), which added overflow checking in many areas. The problem here is that the changes update the local variable sz, which was already in use and which was not updated before the