diff options
author | Keith Packard <keithp@keithp.com> | 2017-05-17 09:57:28 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2017-06-13 09:56:41 -0400 |
commit | d05c754e1bde895589fb514d8f518afeccecbc05 (patch) | |
tree | 9463b363d833425c8db92d5c3a1ef63e88692392 /autogen.sh | |
parent | 448a5586e9235bee9648d89e4103ed48e6237c15 (diff) |
os: Check oc->trans_conn before using oc->fd in YieldControlNoInput
oc->trans_conn is set to NULL when the connection is closed. At this
point, oc->fd is no longer valid and shouldn't be used. Move
dereference of oc->fd up into YieldControlNoInput where the state of
oc->trans_conn can be checked in a single place.
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions