Re: [PATCH v3] AF_ALG: Initialize sg_num_bytes in error code path

2018-07-06 Thread Eric Biggers
On Fri, Jul 06, 2018 at 09:50:55AM +0200, Stephan Müller wrote: > Changes v3: > * Fix syz testing line > > Changes v2: > * Addition of syz testing line > > ---8<--- > > The RX SGL in processing is already registered with the RX SGL tracking > list to support proper cleanup. The cleanup code path

Re: [PATCH v3] AF_ALG: Initialize sg_num_bytes in error code path

2018-07-06 Thread Dmitry Vyukov
On Fri, Jul 6, 2018 at 9:50 AM, Stephan Müller wrote: > Changes v3: > * Fix syz testing line Just in case, the syz test does not have to be in the patch. Just an email to the syzbot address will do. > Changes v2: > * Addition of syz testing line > > ---8<--- > > The RX SGL in processing is alre

[PATCH v3] AF_ALG: Initialize sg_num_bytes in error code path

2018-07-06 Thread Stephan Müller
Changes v3: * Fix syz testing line Changes v2: * Addition of syz testing line ---8<--- The RX SGL in processing is already registered with the RX SGL tracking list to support proper cleanup. The cleanup code path uses the sg_num_bytes variable which must therefore be always initialized, even in