security: Fix some reported security issues (#4807)

This commit is contained in:
Neil Lathwood
2016-10-15 20:45:18 +01:00
committed by GitHub
parent da0d04a5b6
commit a2f2ccfd2c
9 changed files with 34 additions and 12 deletions

View File

@@ -66,6 +66,8 @@ function ifLabel($interface, $device = null)
{
global $config;
$interface['ifAlias'] = display($interface['ifAlias']);
if (!$device) {
$device = device_by_id_cache($interface['device_id']);
}