Re: Bufmgr possible overflow

2023-04-13 Thread Ranier Vilela
Em qua., 12 de abr. de 2023 às 22:29, Kyotaro Horiguchi < horikyota@gmail.com> escreveu: > Perhaps it's a good idea to seprate the patch for each issue. > > Thanks Kyotaro for taking a look. > At Wed, 12 Apr 2023 09:36:14 -0300, Ranier Vilela > wrote in> IMO I think that commit 31966b1 > >

Re: Bufmgr possible overflow

2023-04-12 Thread Kyotaro Horiguchi
Perhaps it's a good idea to seprate the patch for each issue. At Wed, 12 Apr 2023 09:36:14 -0300, Ranier Vilela wrote in> IMO I think that commit 31966b1 > > has an oversight. > > All the logic of the

Bufmgr possible overflow

2023-04-12 Thread Ranier Vilela
Hi, IMO I think that commit 31966b1 has an oversight. All the logic of the changes are based on the "extend_by" variable, which is a uint32, but in some places it is using "int", which can lead to an overflow