]> git.proxmox.com Git - pve-firewall.git/commit
fix use of uninitialized value stable-5
authorMira Limbeck <m.limbeck@proxmox.com>
Mon, 26 Aug 2019 12:55:25 +0000 (14:55 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 27 Aug 2019 07:12:55 +0000 (09:12 +0200)
commitbd2ed8aa5e7cb2d81235a023115b06f497a81459
tree992779edbb5e10663b83d9d51e82f58b69fc4a63
parent90f6d4f812cc033a56b1dcecce338728aaaabe1d
fix use of uninitialized value

$param->{rename} was not checked for definedness even though it is
optional. This lead to a 'use of uninitialized value' when just updating
the cidr.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
(cherry picked from commit 13d39f198ad142a013077f4b3cc436257f7a1a11)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/API2/Firewall/Aliases.pm