NetworkManager/contrib/scripts
Thomas Haller d66a1ace23 contrib/checkpatch: avoid command injection in checkpatch.pl script
The capture variables, $1, etc, are not valid unless the match
succeeded, and they're not cleared, either.

    $ git checkout -B C origin/master && \
        echo XXXXX > f.txt && \
        git add f.txt && \
        git commit -m 'this commit does something()'
    Branch 'C' set up to track remote branch 'master' from 'origin'.
    Reset branch 'C'
    Your branch is up to date with 'origin/master'.
    sh: -c: line 0: syntax error near unexpected token `('
    sh: -c: line 0: `git log --abbrev=12 --pretty=format:"%h ('%s')" -1 does something() 2>/dev/null'

    >>> VALIDATE "a169a98e14 this commit does something()"
    (commit message):4: Commit 'does something()' does not seem to exist:
    > Subject: [PATCH] this commit does something()

    (commit message):4: Refer to the commit id properly: :
    > Subject: [PATCH] this commit does something()

    The patch does not validate.
2019-03-18 11:57:04 +01:00
..
checkpatch-feature-branch.sh checkpatch: quote variable in "checkpatch-feature-branch.sh" 2018-10-22 18:21:41 +02:00
checkpatch.pl contrib/checkpatch: avoid command injection in checkpatch.pl script 2019-03-18 11:57:04 +01:00
nm-ci-patch-gtkdoc.sh gitlab-ci: patch gtk-doc to generate valid documentation 2018-12-01 08:55:44 +01:00
nm-ci-run.sh build/ci: enable --werror for meson builds 2019-02-08 20:14:50 +01:00
nm-import-openconnect contrib/scripts: nm-import-openconnect - script for importing OpenConnect VPN configs to NM 2015-05-19 09:21:50 +02:00
nm-import-openvpn all: drop trailing spaces 2018-02-07 13:32:04 +01:00
nm-import-vpnc contrib/scripts: nm-import-vpnc - script for importing Cisco VPN configs to NM 2015-05-19 09:21:50 +02:00
NM-log platform: add routing-rule add/delete netlink functions 2019-03-13 09:03:59 +01:00
test-macsec contrib: add macsec test script 2017-01-16 17:47:10 +01:00