restrict bridge interface name to IFNAMSIZ
Status from this message: Applied.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 18 repliesApplied
- v33 patches 7 repliesSuperseded
- v23 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 1 patch | 6 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qemu-bridge-helper: restrict interface name to IFNAMSIZqemu-bridge-helper.c | +11 | 3 replies | |
| 2/3 | qemu-bridge-helper: move repeating code in parse_acl_fileqemu-bridge-helper.c | +9 | 3 replies | |
| 3/3 | net: tap: replace snprintf with g_strdup_printf callsnet/ | +11 | 9 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Stefan Hajnoczi | Daniel P. Berrangé | Li Qiang |
|---|---|---|---|
| 1/3 | R-b | R-b | R-b |
| 2/3 | R-b | R-b | R-b |
| 3/3 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [PATCH v4 0/3] restrict bridge interface name to IFNAMSIZ
From: Prasad J Pandit <[email protected]>
Hello,
Linux net_deivce defines network interface name to be of IFNAMSIZE(=16) bytes, including the terminating null('\0') byte.
Qemu tap deivce, while invoking 'qemu-bridge-helper' tool to set up the network bridge interface, supplies bridge name of 16 characters, thus allowing to create an ACL bypass scenario.
This patch series attempts to fix it. It also updates bridge helper invocation routine 'net_bridge_run_helper' to avoid snprintf() calls.
Thank you.
--
Prasad J Pandit (3):
qemu-bridge-helper: restrict interface name to IFNAMSIZ
qemu-bridge-helper: move repeating code in parse_acl_file
net: tap: replace snprintf with g_strdup_printf calls
net/tap.c | 19 +++++++++++-------- qemu-bridge-helper.c | 24 +++++++++++++++++------- 2 files changed, 28 insertions(+), 15 deletions(-)
Signature · 1 line
2.21.0