Thread (22 messages) read the whole thread 22 messages, 5 authors, 2018-07-13

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

From: Eric Biggers <hidden>
Date: 2018-07-06 21:58:00
Also in: lkml

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 uses the
sg_num_bytes variable which must therefore be always initialized, even
in the error code path.

Signed-off-by: Stephan Mueller <redacted>
Reported-by: syzbot+9c251bdd09f83b92ba95@syzkaller.appspotmail.com
#syz test: https://github.com/google/kmsan.git master
Can you add Fixes: and Cc: stable?

- Eric
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help