aboutsummaryrefslogtreecommitdiffstats
path: root/src/swanctl/commands/install.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-05-07 12:55:30 +0200
committerMartin Willi <martin@revosec.ch>2014-05-07 14:13:39 +0200
commit1e4ee168c80fdb9931190d511cb8bca604df8a7a (patch)
treed1913021d1903795903c0cf98a3e10846102a32d /src/swanctl/commands/install.c
parentafb7ef49087f26bb73d4e07402e9bdeb62ccfda1 (diff)
downloadstrongswan-1e4ee168c80fdb9931190d511cb8bca604df8a7a.tar.bz2
strongswan-1e4ee168c80fdb9931190d511cb8bca604df8a7a.tar.xz
vici: Check if header has been received before processing an empty message
If do_read() returns with EWOULDBLOCK, we must ensure that we actually have processed the full length header before checking the zero-initialized buffer length.
Diffstat (limited to 'src/swanctl/commands/install.c')
0 files changed, 0 insertions, 0 deletions