diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-10-04 14:14:24 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-08 13:19:30 +0100 |
commit | b9b545e7ddcbbe5934d905805db1d6a436862737 (patch) | |
tree | ba8053a45cafd30f929d098253828d596b0a7f51 /hal/WindowIdentifier.cpp | |
parent | c247ba5ab8f600fd748bc914524ae1ee17369062 (diff) | |
download | UXP-b9b545e7ddcbbe5934d905805db1d6a436862737.tar UXP-b9b545e7ddcbbe5934d905805db1d6a436862737.tar.gz UXP-b9b545e7ddcbbe5934d905805db1d6a436862737.tar.lz UXP-b9b545e7ddcbbe5934d905805db1d6a436862737.tar.xz UXP-b9b545e7ddcbbe5934d905805db1d6a436862737.zip |
Avoid potentially unsafe snprintf usage in FPSCounter.
snprintf returns the number of bytes it would have written when it runs out of space.
This patch makes sure we properly handle this unlikely event in FPSCounter.
This patch also makes sure we don't print out the contents of an uninitialized buffer.
Diffstat (limited to 'hal/WindowIdentifier.cpp')
0 files changed, 0 insertions, 0 deletions