Use strdup_or_die() if the duplicated string is tiny
authorFabian Keil <fk@fabiankeil.de>
Sat, 18 Oct 2014 11:28:36 +0000 (11:28 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sat, 18 Oct 2014 11:28:36 +0000 (11:28 +0000)
commit07a776c80fa99f9dbb598a0938f351e95afa0656
treeeb18ce6d5f5736b0b37a8745e4e9ece04c19a5f9
parentabb070ca9783f681c36b115c4c9deb54f20143f2
Use strdup_or_die() if the duplicated string is tiny

Fixes a theoretical memory leak in trust_url() reported by Coverity.

CID 66364.
filters.c