security:read_data fix bad realloc() 14/214214/1 accepted/tizen/base/20190921.035901 submit/tizen_base/20190919.235053
authorDaniel Stenberg <daniel@haxx.se>
Tue, 3 Sep 2019 20:59:32 +0000 (22:59 +0200)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 19 Sep 2019 05:20:51 +0000 (14:20 +0900)
commita4bb8ac9a00e106b797056bd699547873bd4564b
treedf6a1431291a3cd58f83779c8322705a8f4e29da
parenta1216fb97bfcc72a902fc8c92b7f9084f5a038da
security:read_data fix bad realloc()

... that could end up a double-free

CVE-2019-5481
Bug: https://curl.haxx.se/docs/CVE-2019-5481.html

Change-Id: I4eab9aceba3ad01607eb4f302200e9f949ea4312
lib/security.c