From fde6b96b351a11221af8274b06e20e19ad26a5c5 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Dec 11 2017 10:53:10 +0000 Subject: Avoid gcc warnings about uninitialized variables --- diff --git a/openssh-6.7p1-sftp-force-permission.patch b/openssh-6.7p1-sftp-force-permission.patch index 512996b..2d6e730 100644 --- a/openssh-6.7p1-sftp-force-permission.patch +++ b/openssh-6.7p1-sftp-force-permission.patch @@ -38,7 +38,7 @@ diff -up openssh-7.2p2/sftp-server.c.sftp-force-mode openssh-7.2p2/sftp-server.c Attrib a; char *name; int r, handle, fd, flags, mode, status = SSH2_FX_FAILURE; -+ mode_t old_umask; ++ mode_t old_umask = 0; if ((r = sshbuf_get_cstring(iqueue, &name, NULL)) != 0 || (r = sshbuf_get_u32(iqueue, &pflags)) != 0 || /* portable flags */