summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/tools/lldb/source/Host/common/Symbols.cpp
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-11-13 08:55:09 +0000
committerkib <kib@FreeBSD.org>2013-11-13 08:55:09 +0000
commit2e0b8010f904b462d9b7c36810bad096734da8c2 (patch)
treeb84300ae7ca33c45d327be56d91634cc941c58d5 /contrib/llvm/tools/lldb/source/Host/common/Symbols.cpp
parentc917df04fa3c99b581e7548f4b0bd7a5db94454b (diff)
downloadFreeBSD-src-2e0b8010f904b462d9b7c36810bad096734da8c2.zip
FreeBSD-src-2e0b8010f904b462d9b7c36810bad096734da8c2.tar.gz
Remove useless comparisions of assigned offset and resid with the
sources from uio. Both uio_offset and offset, and uio_resid and resid have the same types for some time. Add check for buflen overflow by comparing the buflen with both offset and resid (vs. comparing with offset only, as it is currently done). Reported and tested by: pho Approved by: des (pseudofs maintainer) Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Host/common/Symbols.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud