commit | 2e88130dd1b479004ddd3326c25b57e88743ae71 | [log] [tgz] |
---|---|---|
author | vamsi krishna <vamsin@qti.qualcomm.com> | Wed May 25 15:02:39 2016 +0530 |
committer | Jouni Malinen <jouni@qca.qualcomm.com> | Thu May 26 16:01:21 2016 +0300 |
tree | 8fb3bccb44c17606dfc108ada58ac74ed6c46896 | |
parent | 3f8c0b3fc4ea8dfe23a1f02ef357cfcae03b2cfd [diff] |
Fix buffer overflow in ANQP server configuration There was not enough room in the buffer for null termination of the string (hex[length * 2] = '\0' in ascii2hexstr()). Allocate one extra byte to avoid buffer overflow when building the domain name list hex string. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>