[LU-12685] ll_statahead_threda has incorrect error handling code Created: 23/Aug/19 Updated: 03/Sep/19 Resolved: 03/Sep/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Neil Brown | Assignee: | WC Triage |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Commit ae828cd3b092 (" https://review.whamcloud.com/#/c/32946/ changed how op_data was allocated, with consequence that failure is reported as NULL rarther than ERR_PTR(-ENOMEM). The error handling code was not updated to match. So a memory allocation failure will cause a NULL pointer dereference. |
| Comments |
| Comment by Gerrit Updater [ 23/Aug/19 ] |
|
Neil Brown (neilb@suse.com) uploaded a new patch: https://review.whamcloud.com/35873 |
| Comment by Gerrit Updater [ 03/Sep/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35873/ |
| Comment by Peter Jones [ 03/Sep/19 ] |
|
Landed for 2.13 |