]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Don't reject _and_ accept X forwarding requests!
authorSimon Tatham <anakin@pobox.com>
Sat, 22 Nov 2014 09:59:37 +0000 (09:59 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 22 Nov 2014 15:26:16 +0000 (15:26 +0000)
commit69d50b2877ea6cb2a23a75e563dbca7548dacd38
tree8edb10e8a989e216c8dd7e8f8bbe763a2356b739
parent90dcef3d9e60f7f81193e433771bcb11e057cf11
Don't reject _and_ accept X forwarding requests!

If a sharing downstream asks for an auth method we don't understand,
we should send them CHANNEL_FAILURE *and then stop processing*. Ahem.

(Spotted while examining this code in the course of Coverity-related
fixes, but not itself a Coverity-found problem.)
sshshare.c