[LU-4188] Unstable code in class_config_llog_handler Created: 30/Oct/13  Updated: 09/Oct/21  Resolved: 09/Oct/21

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.6.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Oleg Drokin Assignee: WC Triage
Resolution: Won't Do Votes: 0
Labels: easy

Issue Links:
Related
is related to LU-2753 Tracking bug for static code analysis... Resolved
Severity: 3
Rank (Obsolete): 11328

 Description   

Playing with the stack tool, it noticed that in the class_config_llog_handler funciton half the way it assumes the clli variable is not NULL and freely dereferencs it, and then half way through it suddenly becomes paranoid and starts to check it for NULL ever since "if (clli && clli->cfg_instance &&"



 Comments   
Comment by Bobbie Lind (Inactive) [ 28/Feb/14 ]

Patch submitted at http://review.whamcloud.com/9430

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