]> git.ipfire.org Git - thirdparty/hostap.git/commit
EAP-SIM DB: Make recv() null termination easier for static analyzers
authorJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 16:28:00 +0000 (18:28 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 6 Dec 2014 16:35:53 +0000 (18:35 +0200)
commit41f480005fc9653b5b5f7c46d51bdefe66c72795
tree695beea3d71188fc897e48bb98a71705ea2ae0e0
parent8105821b394b9ce87a1f5175eaf8399940fad7a9
EAP-SIM DB: Make recv() null termination easier for static analyzers

For some reason, the previous version was not understood to be null
terminating the buffer from recv(). It was doing this fine, though. Try
to use a bit more simpler design in hopes of getting static analyzers to
understand this. (CID 72702)

Signed-off-by: Jouni Malinen <j@w1.fi>
src/eap_server/eap_sim_db.c