commit | 77ab2f723ee221e0a12f9664383c578e62b7cd13 | [log] [tgz] |
---|---|---|
author | Daniel Willmann <dwillmann@sysmocom.de> | Wed May 21 15:08:19 2014 +0200 |
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Sun Jun 22 16:57:22 2014 +0200 |
tree | 9f139d71e8294e60e05b3f962acfed75c8089f8a | |
parent | 17aa6b25cb0b720279f5d8221de17b01398d0143 [diff] |
vty: Avoid use-after-free in VTY telnet interface If the read callback closes the connection conn is already freed so we can't derefernce it. Instead return -EBADFD in the read function if it closed the connection and check for that.