mbox series

[0/2] pipe: Fix a potential UAF and delete a duplicate line of code

Message ID 20211115035721.1909-1-thunder.leizhen@huawei.com (mailing list archive)
Headers show
Series pipe: Fix a potential UAF and delete a duplicate line of code | expand

Message

Leizhen (ThunderTown) Nov. 15, 2021, 3:57 a.m. UTC
I found these when I was learning the code. I briefly tested it, and no new
problems were introduced.

Zhen Lei (2):
  pipe: fix potential use-after-free in pipe_read()
  pipe: delete a duplicate line of code in pipe_write()

 fs/pipe.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)