diff options
author | Phil Davis <phil.davis@inf.org> | 2015-03-16 20:11:00 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-03-16 20:11:00 +0545 |
commit | e5d58b682703befda3dfb994272df3544d931dd1 (patch) | |
tree | 08a27549b5c5261ffb406b3ec42aa5bc05eb53ad /tmp | |
parent | e554970781bf8745dfc672e1ce496d10c22e7389 (diff) | |
download | pfsense-e5d58b682703befda3dfb994272df3544d931dd1.zip pfsense-e5d58b682703befda3dfb994272df3544d931dd1.tar.gz |
Do not allow VLAN tag zero
At the moment you can make a VLAN with tag 0. The input validation does not catch it because when $_POST['tag'] = "0" that evaluates to false by PHP.
Always make the checks on 'tag' value whenever the 'tag' key is set at all. If the (required) 'tag' key is not set, then that is already checked for by do_input_validation().
Diffstat (limited to 'tmp')
0 files changed, 0 insertions, 0 deletions