diff options
| author | yang-cy.chen <yang-cy.chen@mediatek.com> | 2016-04-19 20:01:07 +0800 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2016-08-26 16:02:12 +0200 |
| commit | 88d70e960decc88e9d310a95e8ab7db7ca690f67 (patch) | |
| tree | 692e27c0e66fe163b149f360754aee5580773370 /scripts/bootgraph.pl | |
| parent | faef150cd78f9a5dc4d7696904e575b2cc45ba7d (diff) | |
Fix "[Security Vulnerability] Battery:potential buffer overflow" issue
Problem:
potential buffer overflow through copy_from_user.
Solution:
Explicitly copy one byte since only need one byte data.
Bug num:28085222
Change-Id: I097d433f70267ddbaad1b08dfbdd9505467d300c
Signed-off-by: yang-cy.chen <yang-cy.chen@mediatek.com>
(cherry picked from commit 78aae38e1ec91b758317450c308a4cfd31bda3d3)
Diffstat (limited to 'scripts/bootgraph.pl')
0 files changed, 0 insertions, 0 deletions
