aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.14/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2022-02-21 07:41:05 +0100
committerPetr Štetiar <ynezz@true.cz>2022-02-21 07:41:05 +0100
commitcc344f1513eeefc555a0e5965ea50cac95fdfe7d (patch)
treed1e3b855904bbc707f7f97a04184e01d0b3d522c /target/linux/generic/pending-4.14/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch
parent31bb27f35b952097ed949f59f3a6fe0dfd2d58c5 (diff)
downloadupstream-cc344f1513eeefc555a0e5965ea50cac95fdfe7d.tar.gz
upstream-cc344f1513eeefc555a0e5965ea50cac95fdfe7d.tar.bz2
upstream-cc344f1513eeefc555a0e5965ea50cac95fdfe7d.zip
ubus: backport fixes for UAF and other issues
Backporting following fixes: a72457b61df0 libubus: increase stack depth for processing obj msgs ef038488edc3 libubus: process pending messages in data handler if stack depth is 0 2099bb3ad997 libubus: use list_empty/list_first_entry in ubus_process_pending_msg where at least commit 2099bb3ad997 ("libubus: use list_empty/list_first_entry in ubus_process_pending_msg") fixes UAF issue I've introduced in commit c5f2053dfcfd ("workaround possibly false positive uses of memory after it is freed") while fixing another false positive UAF reported[1] by clang's static analyzer. Those fixes are being used in master/21.02 for about 6 months, so should be tested enough and considered for backporting. I've runtested those fixes on mvebu/turris-omnia and ipq40xx/glinet-b1300 devices. 1. https://openwrt.gitlab.io/-/project/ubus/-/jobs/2096090992/artifacts/build/scan/2022-02-15-150310-70-1/index.html Signed-off-by: Petr Štetiar <ynezz@true.cz>
Diffstat (limited to 'target/linux/generic/pending-4.14/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch')
0 files changed, 0 insertions, 0 deletions