tag | bba229ebdd996c5fb0ab0943d1769eaaa9b21cd6 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Oct 06 17:46:43 2020 -0700 |
object | 44cbd51b6c77c0192269d2499608b2aa75725c77 |
Android Security 11.0.0 Release 1 (6839172)
commit | 44cbd51b6c77c0192269d2499608b2aa75725c77 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Tue Jul 28 21:41:54 2020 +0000 |
committer | Anis Assi <anisassi@google.com> | Tue Sep 01 23:50:18 2020 -0700 |
tree | 1443e8741df9aa77cb6410d23f52c97df24fe96b | |
parent | 6072de17cd812daf238092695f26a552d3122f8c [diff] |
libutils: check vsnprintf error For encoding errors, this function will return a negative value which causes problems down the line. Check for an error and return. Also, integer overflows are guarded. Bug: 161894517 Test: fuzzer test case Change-Id: Ia85067d4258bde4b875c832d6223db5dd26b8838 Merged-In: Ia85067d4258bde4b875c832d6223db5dd26b8838 (cherry picked from commit ee22384c54d42149491c8b9dbcda0d8c5e88eddc)