]> git.ipfire.org Git - thirdparty/libsolv.git/commit
repodata_schema2id: fix heap-buffer-overflow in memcmp 344/head
authorZhipeng Xie <xiezhipeng1@huawei.com>
Tue, 6 Aug 2019 01:50:57 +0000 (09:50 +0800)
committerZhipeng Xie <xiezhipeng1@huawei.com>
Tue, 6 Aug 2019 02:13:38 +0000 (10:13 +0800)
commitfdb9c9c03508990e4583046b590c30d958f272da
tree5d2c1775ffe2488ce1420eb3c153a54ca1b9e747
parent9bb2290c5e88648697ddbe011a2134eecd3cc9ee
repodata_schema2id: fix heap-buffer-overflow in memcmp

When the length of last schema in data->schemadata is
less than length of input schema, we got a read overflow
in asan test.

Signed-off-by: Zhipeng Xie <xiezhipeng1@huawei.com>
src/repodata.c