]> git.ipfire.org Git - thirdparty/squid.git/commit - src/urn.cc
Cleanup: check URN list before using it
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 6 Aug 2016 05:55:37 +0000 (17:55 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 6 Aug 2016 05:55:37 +0000 (17:55 +1200)
commit892ee3d0050c4258deb239b4670004c9df68925f
treecf3c4f5e446a41a5d91a05f75f4a1be312f0f3a3
parentf2e4148049d39c62a156b933805d5fe7e1653fd2
Cleanup: check URN list before using it

The check should not be needed, the URN parse function always allocates.
But do it at the right time even so.

 Detected by Coverity Scan. Issue 434062
src/urn.cc