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>
(cherry picked from commit 533d881b0f4b24c72b35ecc97fa35d295d063e53)

Details

Committed
asnJun 8 2020, 9:15 AM
Parents
rLIBSSHdcc0b9d7aa09: cmake: add _POSIX_SOURCE
Branches
Unknown
Tags
Unknown
Tasks
T232: [sftpserver] NULL pointer deref