]> git.ipfire.org Git - thirdparty/squid.git/commit
Made Ip::Address::fromHost() handle nil pointers after fd9c47d. (#25)
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 20 Jul 2017 03:45:59 +0000 (21:45 -0600)
committerAmos Jeffries <yadij@users.noreply.github.com>
Thu, 20 Jul 2017 03:45:59 +0000 (15:45 +1200)
commit05caa1bbbc85bce55dea46a950323ac2ea8de2b8
tree27a05dbed640cc7193ec8fd23afb523c683ab6ff
parent8ed2615ff70b62c6138a9d10b46f6c01fdb32323
Made Ip::Address::fromHost() handle nil pointers after fd9c47d. (#25)

No functionality changes expected. Nobody was passing nil pointers to
this code before or after fd9c47d AFAICT, but now that this code is
exposed as a public method, it must handle nil pointers.

Detected by Coverity Scan. Issue 1415049 (FORWARD_NULL).
src/ip/Address.cc