WPS: Extra validation step for HTTP reader
authorJouni Malinen <j@w1.fi>
Tue, 28 Apr 2015 14:20:09 +0000 (17:20 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 3 May 2015 15:26:50 +0000 (18:26 +0300)
commitaf185d0b578fc447b1db0b42a03d8b2467decffd
tree606560850681f5bae9728241203d622b25377a27
parent5acd23f4581da58683f3cf5e36cb71bbe4070bd7
WPS: Extra validation step for HTTP reader

Verify that ncopy parameter to memcpy is not negative. While this is not
supposed to be needed, it is a good additional protection against
unknown implementation issues.

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