summaryrefslogtreecommitdiffstats
path: root/netwerk/test/TestStreamTransport.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2017-10-04 14:14:24 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-02-08 13:19:30 +0100
commitb9b545e7ddcbbe5934d905805db1d6a436862737 (patch)
treeba8053a45cafd30f929d098253828d596b0a7f51 /netwerk/test/TestStreamTransport.cpp
parentc247ba5ab8f600fd748bc914524ae1ee17369062 (diff)
downloadUXP-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 'netwerk/test/TestStreamTransport.cpp')
0 files changed, 0 insertions, 0 deletions