diff options
author | pfg <pfg@FreeBSD.org> | 2015-01-27 01:39:42 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-01-27 01:39:42 +0000 |
commit | 927a3633f0d5bb7ec844edb6fcd5ef57c667deea (patch) | |
tree | 954097735ef4ceb518d8bda369e0af5b5f0c2d18 /contrib/llvm/tools/clang/lib/Driver/Driver.cpp | |
parent | 08263d19579d35a7a65e0c8bcb768504ce76d04e (diff) | |
download | FreeBSD-src-927a3633f0d5bb7ec844edb6fcd5ef57c667deea.zip FreeBSD-src-927a3633f0d5bb7ec844edb6fcd5ef57c667deea.tar.gz |
Merge some cherry-picked fixes originating in OpenBSD
Check whether the version field is available before looking at it.
While we're at it, use ND_TCHECK(), rather than a hand-rolled check, to
check whether we have the full fixed-length portion of the IPv4 header.
commit c67afe913011138a2504ec4d3d423b48e73b12f3
Do more length checking. From OpenBSD.
commit d7516761f9c4877bcb05bb6543be3543e165249
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions