[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.


Generated at Sat Feb 10 02:40:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.