Project

General

Profile

Actions

Bug #10835

closed

Verification on the interface group name length is not correct

Added by Théo Sarrazin over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Category:
Interfaces
Target version:
Start date:
08/14/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
All

Description

ifconfig take group name with less than 15 characters, but in the file interfaces_groups_edit.php, we can find the following line:

if (strlen($_POST['ifname']) > 16) {

which is incorrect, so if, in the interface, we put a name with 16 characters, pfsense would be OK, while ifconfig is call with a wrong name length and it will not take effect.

Actions

Also available in: Atom PDF