maint.mk: _sc_search_regexp, sc_vulnerable_makefile_CVE-2009-4029: fix
authorJim Meyering <meyering@redhat.com>
Mon, 9 Jul 2012 14:11:34 +0000 (16:11 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Jul 2012 14:18:55 +0000 (16:18 +0200)
commitb38d59184505f6119a5ffbf3b4a068fd7a9b8fe8
treed0448ceaba99deaa287f60f0341aa8c3cfe60618
parentc1d613a0ac4b25f5dec56e8d27e39be5e88ec2d9
maint.mk: _sc_search_regexp, sc_vulnerable_makefile_CVE-2009-4029: fix

Bugs in both of those conspired to make the
sc_vulnerable_makefile_CVE-2009-4029 rule 99% useless.
_sc_search_regexp's handling of non-empty $in_files would filter
out any offending file names.  sc_vulnerable_makefile_CVE-2009-4029's
choice of in_files value meant there would be no match in most
projects, due to the presence of two or more Makefile.in files.
* top/maint.mk (_sc_search_regexp) [in_vc_files,in_files]: Clarify.
Fix a bug in how a non-empty $$in_files was processed:
(sc_vulnerable_makefile_CVE-2009-4029): Fix erroneous use of in_files:
in spite of the name, it's a regexp, not a list of file names.
ChangeLog
top/maint.mk