Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3d097074 authored by Chris Dearman's avatar Chris Dearman
Browse files

Avoid potential buffer overrun in bd2str caused by signed char

Use uint8_t to avoid sign extension as char's may be signed.
As a further safeguard, use snprintf()

Change-Id: Icdd4dba9b270bde41547677fa2f98bf215401a23
parent da93e55c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment