Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-12-09 16:11:45 +0300
committerPetr Štetiar <ynezz@true.cz>2019-12-25 12:31:58 +0300
commit0b24e24b93e1f00e7c0907fbe600dd2978bbd388 (patch)
treeeed8d48303df08cfdf2eae9e68291981004d7f9d /tests/test-blob-parse.c
parent6d27336e4a8b6e7ab7628509101beb16fcc08bba (diff)
blob: introduce blob_parse_untrusted
blob_parse can be only used on trusted input as it has no possibility to check the length of the provided input buffer, which might lead to undefined behaviour and/or crashes when supplied with malformed, corrupted or otherwise specially crafted input. So this introduces blob_parse_untrusted variant which expects additional input buffer length argument and thus should be able to process also inputs from untrusted sources. Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'tests/test-blob-parse.c')
0 files changed, 0 insertions, 0 deletions