summaryrefslogtreecommitdiff
path: root/src/systemd/nm-sd-adapt.h
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-11-21 18:19:04 +0100
committerBeniamino Galvani <bgalvani@redhat.com>2018-11-22 10:15:23 +0100
commitbbc13c5bb6f0f41207fa5bc4d7ad44c2b4f58336 (patch)
tree95015d73c33ccb0982801a3d7008e216f3545b15 /src/systemd/nm-sd-adapt.h
parentba3f905c44d5d35240b452ac1007265a30dbfa41 (diff)
downloadNetworkManager-bbc13c5bb6f0f41207fa5bc4d7ad44c2b4f58336.tar.gz
lldp: fix parsing of vlan-name attribute
We used to read 3 bytes after the TLV, fix this. Also, check that string length is at most 32 bytes as specified in figure E.3 of IEEE 802.1AB-2009. Fixes: 18133ea1428648781dba74c26dd5d118e8d5ce33 https://bugzilla.redhat.com/show_bug.cgi?id=1652210 (cherry picked from commit e9097787102442d1db6e1ebfbe07140bf05318a2) (cherry picked from commit 05c27c3c504c776b2ff3f3e34e717300c5ac1a0f) (cherry picked from commit 6d4ad477b81e495a35767c996c9f4ad69f58e135) (cherry picked from commit b97d38e5799834474004b6cba2ddda3223ac5b1d) (cherry picked from commit 73b572e001b8f3e36c35b6e7aa59daac8be3c745) (cherry picked from commit d8c41cd8b02d29245b07f0df0189b084ad048e1c) (cherry picked from commit 740826467443fe09096a0c4893612313844498e6)
Diffstat (limited to 'src/systemd/nm-sd-adapt.h')
0 files changed, 0 insertions, 0 deletions