diff options
author | pfg <pfg@FreeBSD.org> | 2017-05-04 15:00:09 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2017-05-04 15:00:09 +0000 |
commit | 64bd1f9d3188cf93b4bac7f071981748ff394986 (patch) | |
tree | 2cb6b355949105595f328c388a96b3eda570cfd2 /contrib/llvm/lib/Support/ScopedPrinter.cpp | |
parent | f367a08e929a1fb8bab081d188e8e15afc379b7d (diff) | |
download | FreeBSD-src-64bd1f9d3188cf93b4bac7f071981748ff394986.zip FreeBSD-src-64bd1f9d3188cf93b4bac7f071981748ff394986.tar.gz |
MFC r317200, r317201, r317216:
libthread_db: unsign map_len and use reallocarray(3).
Lengths are not negative, so map_len should be unsigned. Unsign the
corresponding indexes too and bring a small use of reallocarray(3).
Reorder the memset to be consistent with the reallocarray.
Diffstat (limited to 'contrib/llvm/lib/Support/ScopedPrinter.cpp')
0 files changed, 0 insertions, 0 deletions