mirror of
https://github.com/torvalds/linux.git
synced 2026-03-09 05:26:38 +01: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:
|
||
|---|---|---|
| .. | ||
| sunrpc | ||
| ynl | ||