commit | 3042373b5a63cf8720aa3e759b10cd7545746864 | [log] [tgz] |
---|---|---|
author | developer <developer@mediatek.com> | Thu Dec 01 16:17:49 2022 +0800 |
committer | developer <developer@mediatek.com> | Fri Dec 02 14:55:57 2022 +0800 |
tree | 3de29ad524dab7e59d9e101c90a627db174c81d8 | |
parent | 40a11cb6bc3791ffa076ef4221e8af7abb158b06 [diff] |
[rdkb][common][hal][Fix some bugs warning by coverity] [Description] Fix some bugs warning by coverity. 1. Fix TOCTOU(Time of check, time of use). 2. Add initializaion of struct and string. 3. Fix printf arguments. 4. Fix deadcode for if clausure. 5. Fix BAD_COMPARE. 6. Fix ALLOC_FREE_MISMATCH. 7. Fix DIVIDE_BY_ZERO by adding check. [Release-log] N/A Change-Id: I8105287c7e586efe396400e85621c76ba08966e2