OSDN Git Service

Add a test for a possible overflow in *printf.
authorElliott Hughes <enh@google.com>
Sat, 6 Feb 2016 05:57:37 +0000 (21:57 -0800)
committerElliott Hughes <enh@google.com>
Sat, 6 Feb 2016 05:57:37 +0000 (21:57 -0800)
commit8200e55d941305f6f24f1745492b90271aa417e9
tree49a1fffff9cb70861415949cb8c83419fab2ae9d
parent831c8a52498d3c7be204a00847275f6e9163626f
Add a test for a possible overflow in *printf.

It turns out we don't have any bugs here, but glibc does. Found while
chasing down a toybox failure I saw on the host, but we may as well
add the test in case we ever screw up here in future.

Change-Id: Ib8dd227ed3b742dc4dab8c09dc08e6ea9a35c807
tests/stdio_test.cpp