diff -u clamav-0.97.8+dfsg/debian/common_functions clamav-0.97.8+dfsg/debian/common_functions --- clamav-0.97.8+dfsg/debian/common_functions +++ clamav-0.97.8+dfsg/debian/common_functions @@ -147,7 +147,7 @@ value=`grep ^$variable $CLAMAVCONF | head -n1 | sed -e s/$variable\ //` ;; *) - value=`grep ^$variable $CLAMAVCONF | head -n1 | awk '{print $2}'` + value=`grep "^$variable[[:space:]]" $CLAMAVCONF | head -n1 | awk '{print $2}'` ;; esac if [ -z "$value" ]; then diff -u clamav-0.97.8+dfsg/debian/changelog clamav-0.97.8+dfsg/debian/changelog --- clamav-0.97.8+dfsg/debian/changelog +++ clamav-0.97.8+dfsg/debian/changelog @@ -1,3 +1,11 @@ +clamav (0.97.8+dfsg-1ubuntu1.12.04.2) precise-proposed; urgency=low + + * debian/common_functions + - Fix slurp_config() that is sometimes not discriminative + enough which leads to invalid configuration files (LP: #799623) + + -- Louis Bouchard Mon, 10 Feb 2014 17:54:42 +0100 + clamav (0.97.8+dfsg-1ubuntu1.12.04.1) precise-security; urgency=low [ Seth Arnold ]