osal_aos: fix whitescan bugs in rhino/common.c
[Detail]
fix whitescan bugs in rhino/common.c
CWE676: The called function is unsafe for security related code
"rand" should not be used for security-related applications, because
linear congruential algorithms are too easy to break.
[Verified Cases]
Build Pass: <py_engine_demo>
Test Pass: <py_engine_demo>
Signed-off-by: NJinliang Li <ljl150821@alibaba-inc.com>
Showing
想要评论请 注册 或 登录