[Upstream] dnsproxy: Fix crash on malformed DNS response 79/151579/2
authorJaehyun Kim <jeik01.kim@samsung.com>
Thu, 21 Sep 2017 07:35:25 +0000 (16:35 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Thu, 21 Sep 2017 08:01:48 +0000 (17:01 +0900)
commit59eb8331decf9e096c9e94d61a99152d462413a6
tree4824486a70931f802704805bce092fc2680c0c97
parent4541295e8391b08d9922548f27e4a8836280fd45
[Upstream] dnsproxy: Fix crash on malformed DNS response

If the response query string is malformed, we might access memory
pass the end of "name" variable in parse_response().

Change-Id: I179583bd9f7682a49a2980d866ae3524d1b75879
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
src/dnsproxy.c