diff options
| author | Anmin Hsu <anmin.hsu@mediatek.com> | 2015-10-01 12:04:10 +0800 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-25 11:28:23 +0200 |
| commit | 2485849408a09c241f49ce9bf370762310a7420b (patch) | |
| tree | 0270154382429e02425421f03fc93e3f4ac1b5dd /security | |
| parent | 58067019ce093efa129f7b1e07919da247fa63e7 (diff) | |
mlog: Fixed stack overflow
[Detail]
Function sprintf does not check the length of buffer.
[Solution]
Using snprintf prevent stack overflow.
[Feature] Monkey Test
MTK-Commit-Id: 699464af6ac730e4edd21773b02aa5e1f6dc9403
Change-Id: I238b71ac9966b1967f4c93ffeb29a7c88d441193
Signed-off-by: mtk10008 <tehsin.lin@mediatek.com>
CR-Id: ALPS02316340
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
