summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/Hash.pm
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2013-09-19 19:28:49 +0200
committerGuillem Jover <guillem@debian.org>2013-12-05 04:56:10 +0100
commitbb53fa0defe392d55ae7b7f49bb28d9e647acb9c (patch)
treea8ccb0bcd2a14b06cb7b037d008ad6c79f764659 /scripts/Dpkg/Control/Hash.pm
parenteecc61381b687a7ed6af65427e115dd4d2c765b6 (diff)
downloaddpkg-bb53fa0defe392d55ae7b7f49bb28d9e647acb9c.tar.gz
Do not accept an initial hyphen in field names
Accepting such field names as valid, would make the parsers accept control stanzas that have not been properly sanitized from OpenPGP dash-escaping. Just refuse these field names, as there's really no reason to accept them.
Diffstat (limited to 'scripts/Dpkg/Control/Hash.pm')
0 files changed, 0 insertions, 0 deletions