Re: Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-10-02 Thread Amit Langote
On Tue, Oct 1, 2024 at 3:23 PM Amit Langote wrote: > Hi, > > On Mon, Jul 8, 2024 at 7:08 PM Junwang Zhao wrote: > > On Mon, Jul 8, 2024 at 3:22 PM Nitin Jadhav > > wrote: > > > > > > In [1], Andres reported a -Wuse-after-free bug in the > > > ATExecAttachPartition() function. I've created a pat

Re: Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-09-30 Thread Amit Langote
Hi, On Mon, Jul 8, 2024 at 7:08 PM Junwang Zhao wrote: > On Mon, Jul 8, 2024 at 3:22 PM Nitin Jadhav > wrote: > > > > In [1], Andres reported a -Wuse-after-free bug in the > > ATExecAttachPartition() function. I've created a patch to address it > > with pointers from Amit offlist. > > > > The i

Re: Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-07-09 Thread Junwang Zhao
On Tue, Jul 9, 2024 at 7:39 PM Amit Langote wrote: > > On Tue, Jul 9, 2024 at 19:58 Junwang Zhao wrote: >> >> On Tue, Jul 9, 2024 at 6:18 PM Amit Langote wrote: >> > >> > Hi Junwang, >> > >> > On Mon, Jul 8, 2024 at 7:08 PM Junwang Zhao wrote: >> > > On Mon, Jul 8, 2024 at 3:22 PM Nitin Jadhav

Re: Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-07-09 Thread Amit Langote
On Tue, Jul 9, 2024 at 19:58 Junwang Zhao wrote: > On Tue, Jul 9, 2024 at 6:18 PM Amit Langote > wrote: > > > > Hi Junwang, > > > > On Mon, Jul 8, 2024 at 7:08 PM Junwang Zhao wrote: > > > On Mon, Jul 8, 2024 at 3:22 PM Nitin Jadhav > > > wrote: > > > > > > > > In [1], Andres reported a -Wuse-

Re: Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-07-09 Thread Junwang Zhao
On Tue, Jul 9, 2024 at 6:18 PM Amit Langote wrote: > > Hi Junwang, > > On Mon, Jul 8, 2024 at 7:08 PM Junwang Zhao wrote: > > On Mon, Jul 8, 2024 at 3:22 PM Nitin Jadhav > > wrote: > > > > > > In [1], Andres reported a -Wuse-after-free bug in the > > > ATExecAttachPartition() function. I've cre

Re: Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-07-09 Thread Amit Langote
Hi Junwang, On Mon, Jul 8, 2024 at 7:08 PM Junwang Zhao wrote: > On Mon, Jul 8, 2024 at 3:22 PM Nitin Jadhav > wrote: > > > > In [1], Andres reported a -Wuse-after-free bug in the > > ATExecAttachPartition() function. I've created a patch to address it > > with pointers from Amit offlist. > > >

Re: Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-07-08 Thread Junwang Zhao
On Mon, Jul 8, 2024 at 3:22 PM Nitin Jadhav wrote: > > In [1], Andres reported a -Wuse-after-free bug in the > ATExecAttachPartition() function. I've created a patch to address it > with pointers from Amit offlist. > > The issue was that the partBoundConstraint variable was utilized after > the l

Address the -Wuse-after-free warning in ATExecAttachPartition()

2024-07-08 Thread Nitin Jadhav
In [1], Andres reported a -Wuse-after-free bug in the ATExecAttachPartition() function. I've created a patch to address it with pointers from Amit offlist. The issue was that the partBoundConstraint variable was utilized after the list_concat() function. This could potentially lead to accessing t