bn_wexpand return value vulnerable to memory leak
Username: Solmaz Salimi
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2072
Hi,
The code in the openwrt/package/network/services/ead/src/tinysrp/bn_div.c should be fixed to check the bn_wexpand return value. The problem exists in multiple other projects including openssl with CVE (CVE-2009-3245)(
https://github.com/openssl/openssl/commit/2d9dcd4ff0923347fab727ac90e8526dd65e4e07
).