mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-20 19:23:40 +00:00
When request a none support device operation, there will be no reply.
In this case, the len(desc) check will always be true, causing print_field
to enter an infinite loop and crash the program. Example reproducer:
# ethtool.py -c veth0
To fix this, return immediately if there is no reply.
Fixes:
|
History
|
|
|---|---|---|
| .. | ||
| generated | ||
| lib | ||
| pyynl | ||
| samples | ||
| Makefile | ||
| Makefile.deps | ||
| pyproject.toml | ||
| requirements.txt | ||
| ynl-regen.sh | ||