diff options
author | 2013-03-19 22:14:30 +0000 | |
---|---|---|
committer | 2013-03-19 22:14:30 +0000 | |
commit | 5cabaf342e5dc2c77413e0fb8e42b1e5c7088cba (patch) | |
tree | a386b9843b97ee0018850b988e4b7e8221ff337e /share/man/man5/ruby-module.5 | |
parent | Don't advertise brightness control if it isn't supported. (diff) | |
download | wireguard-openbsd-5cabaf342e5dc2c77413e0fb8e42b1e5c7088cba.tar.xz wireguard-openbsd-5cabaf342e5dc2c77413e0fb8e42b1e5c7088cba.zip |
Untaint a variable used in an sprintf format string by using a regex and back-
reference. This diff from espie@ after we worked through a few alternatives.
(Background: with perl's taint mode, any operation other than RE+backref, even
just taking a length of a tainted [user-supplied/untrusted] string, results in
a tainted variable. Perl 5.14 improves the checks in format strings to sprintf
which triggers with this script).
Diffstat (limited to 'share/man/man5/ruby-module.5')
0 files changed, 0 insertions, 0 deletions