[LU-10454] mdd: NULL pointer dereference in mdd_changelog_data_store_by_fid() Created: 04/Jan/18 Updated: 05/Aug/20 Resolved: 20/Jan/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | Lustre 2.11.0 |
| Type: | Bug | Priority: | Major |
| Reporter: | CEA | Assignee: | Quentin Bouget |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | patch | ||
| Issue Links: |
|
||||||||||||||||
| Severity: | 3 | ||||||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||||||
| Description |
|
mdd_changelog_data_store_by_fid() uses lu_ucred() but only part of the function is aware that the return value may be NULL.This issue is more or less a duplicate of Here is a failed test run that ran into the issue (and more precisely, here is thelog file that highlights the issue). |
| Comments |
| Comment by Gerrit Updater [ 04/Jan/18 ] |
|
Quentin Bouget (quentin.bouget@cea.fr) uploaded a new patch: https://review.whamcloud.com/30707 |
| Comment by Bruno Faccini (Inactive) [ 04/Jan/18 ] |
|
Hello Quentin, this problem had just been reported by Oleg in |
| Comment by Quentin Bouget [ 04/Jan/18 ] |
|
My bad (that's twice now =/). |
| Comment by Andreas Dilger [ 04/Jan/18 ] |
|
This is one reason why I've been asking for the llog_reader functionality in https://review.whamcloud.com/30315 to be included into each of the patches adding functionality, and then testing that functionality in the patch that adds it... |
| Comment by Gerrit Updater [ 20/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30707/ |
| Comment by Peter Jones [ 20/Jan/18 ] |
|
Landed for 2.11. Is this needed on b2_10? |