mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 19:48:16 +04:00
8a28fbfab1b0 blob: fix wrong type for realloc result in blob_buffer_grow() da9183de3707 json_script: convert recursive __json_script_file_free() to iterative 3c566439b634 usock: fix off-by-one in nanosecond normalization in poll_restart() e1dc23a2518c uloop: usock: add error checking for fcntl and remove duplicate include ad15219cb1fa uloop: fix undefined behavior in signal bit operations for signals > 32 48111664b51f blobmsg: fix policy name length overflow and add bounds check in blobmsg_parse() 9db2171daf28 usock: fix integer overflow in timeout calculations 320322291ece udebug: fix double off-by-one in udebug_entry_vprintf() afc0fa8680e2 blobmsg_json: fix integer overflow in blobmsg_puts() 6f01162d29d6 blobmsg_json: floor strbuf size and tighten the post-format guard 6f6c861173f0 blobmsg: fix unsigned integer overflow in blobmsg_alloc_string_buffer() 52868080dc88 blobmsg: use correct byte-order macro when setting BLOB_ATTR_EXTENDED 3bbf83c3a3eb blobmsg_json: fix double format string to avoid truncation and data loss 1d80ee2fd95f jshn: fix integer overflow and type confusion in jshn_parse_file b4a718b6d374 blob: fix integer overflow in buffer growth functions 315e0af12629 blob: use size_t for blob_memdup() length 069f2571f144 json_script: avoid alloca() on attacker-controlled pattern length eda76daa1ed7 blobmsg: fix integer overflow in blobmsg_realloc_string_buffer() f7167d2ec81c ustream: avoid INT_MAX overflow on malloc in ustream_vprintf() e4427989b812 md5: detect read errors in md5sum() instead of returning a bogus hash e529855a1110 json_script: use size_t for calloc_a() length argument 81ca13e97463 udebug-remote: pass size_t to calloc_a() ad775bd35685 treewide: use size_t for length variables to avoid implicit narrowing 7dd127841e82 blob, udebug-remote: silence -Wconversion warnings in trivial cases Link: https://github.com/openwrt/openwrt/pull/23869 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>