[LU-2394] Possible NULL pointer dereference in cat_cancel_cb Created: 27/Nov/12 Updated: 29/Nov/12 Resolved: 29/Nov/12 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.4.0 |
| Fix Version/s: | Lustre 2.4.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Prakash Surya (Inactive) | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | topsequoia | ||
| Severity: | 3 |
| Rank (Obsolete): | 5672 |
| Description |
|
If llog_cat_id2handle fails and returns a positive value, it may free Specifically, the cat_cancel_cb function does not take this precaution, which can manifest itself in a NULL pointer dereference. See here for the patch to fix cat_cancel_cb: 4676 |
| Comments |
| Comment by Peter Jones [ 27/Nov/12 ] |
|
Alex could you please comment on this one? Thanks Peter |
| Comment by Alex Zhuravlev [ 28/Nov/12 ] |
|
the patch is fine. thanks, Prakash. |
| Comment by Prakash Surya (Inactive) [ 29/Nov/12 ] |
|
Patch landed to master: http://review.whamcloud.com/4676 |