Avoid theoretical NULL pointer dereference during TLS reassemble
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 13 Apr 2011 23:45:14 +0000 (02:45 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 13 Apr 2011 23:45:14 +0000 (02:45 +0300)
commit066608f3ff5f0042636b02737d15035129a65829
tree74d29d043c839421d4b8b2dfa9d2183d18aa5ecd
parentb211f3eb715f208ab3dd2ca6e4296f445e9d3725
Avoid theoretical NULL pointer dereference during TLS reassemble

This function does not get called with in_data == NULL in practice, but
it seems to be at least partly prepared for that case, so better make it
consistent by handling the NULL value throughout the function.
src/eap_peer/eap_tls_common.c