summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
authorHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-04-28 14:16:00 +0000
committerHafiz Abid Qadeer <hafiz_abid@mentor.com>2015-04-28 14:16:00 +0000
commit7f2f0ccb0a145dd0b4618c15f16777c43568b3d0 (patch)
tree72ee242e9db55a5a4768b381358429fad1b23b56 /libcxx
parent7dea2e39824eb1d699c41bb113ce1f2b2a17d211 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud