HomePhabricator

sftpserver: Add missing NULL check for ssh_buffer_new()

Authored by asn on Jun 3 2020, 10:04 AM.

Description

sftpserver: Add missing NULL check for ssh_buffer_new()

Thanks to Ramin Farajpour Cami for spotting this.

Fixes T232

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>

Details

Committed
asnJun 3 2020, 10:38 AM
Parents
rLIBSSH866e4442b529: Removed old, 10 years unused test files
Branches
Unknown
Tags
Unknown
Tasks
T232: [sftpserver] NULL pointer deref