[LU-11088] ll_opcode2str() must handle invalid opcodes safely Created: 13/Jun/18 Updated: 19/Sep/23 |
|
| Status: | Open |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | John Hammond | Assignee: | WC Triage |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | easy, lad23dd | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
There are at least two places where ll_opcode2str() is passed an opcode from the wire. If that opcode is unknown the opcode_offset() will return (u32)-1 and one of the assertions in ll_opcode2str() will fail. |