diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-04-28 14:16:00 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2015-04-28 14:16:00 +0000 |
commit | 7f2f0ccb0a145dd0b4618c15f16777c43568b3d0 (patch) | |
tree | 72ee242e9db55a5a4768b381358429fad1b23b56 /libcxx | |
parent | 7dea2e39824eb1d699c41bb113ce1f2b2a17d211 (diff) | |
download | bcm5719-llvm-7f2f0ccb0a145dd0b4618c15f16777c43568b3d0.tar.gz bcm5719-llvm-7f2f0ccb0a145dd0b4618c15f16777c43568b3d0.zip |
Replace sprintf with snprintf to avoid a crash.
During testing -data-list-register-values, I saw a crash here due to buffer overflow.
This commit should fix the crash. There is still problem with printing 1-byte register
in some cases that I will fix separately.
No regression on MI test cases.
llvm-svn: 235991
Diffstat (limited to 'libcxx')
0 files changed, 0 insertions, 0 deletions