mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
network: tc: fix n_prio bounds check
Looks like a simple copy and paste error Fixes https://github.com/systemd/systemd/issues/16367
This commit is contained in:
parent
a64911f9b7
commit
e26538dd04
@ -283,7 +283,7 @@ int config_parse_ets_prio(
|
||||
lvalue, word);
|
||||
continue;
|
||||
}
|
||||
if (ets->n_quanta > TC_PRIO_MAX) {
|
||||
if (ets->n_prio > TC_PRIO_MAX) {
|
||||
log_syntax(unit, LOG_ERR, filename, line, 0,
|
||||
"Too many priomap in '%s=', ignoring assignment: %s",
|
||||
lvalue, word);
|
||||
|
BIN
test/fuzz/fuzz-network-parser/oss-fuzz-23895
Normal file
BIN
test/fuzz/fuzz-network-parser/oss-fuzz-23895
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user