summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorCorinna Vinschen <vinschen@redhat.com>2022-01-21 03:22:56 +1100
committerDamien Miller <djm@mindrot.org>2022-01-21 09:53:07 +1100
commit68085066b6bad43643b43f5957fcc5fd34782ccd (patch)
treeb5c77fb488575078d7a3667a65349d8745b37356 /channels.c
parent2e5cfed513e84444483baf1d8b31c40072b05103 (diff)
downloadopenssh-git-68085066b6bad43643b43f5957fcc5fd34782ccd.tar.gz
Fix signedness bug in Cygwin code
The Cygwin-specific pattern match code has a bug. It checks the size_t value returned by mbstowcs for being < 0. The right thing to do is to check against (size_t) -1. Fix that. Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
Diffstat (limited to 'channels.c')
0 files changed, 0 insertions, 0 deletions