[LU-7943] Suspicious dereference of pointer before NULL check Created: 29/Mar/16 Updated: 21/May/18 Resolved: 21/May/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | Lustre 2.12.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | Arshad Hussain |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | kw | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Suspicious dereference of pointer 'sname' before NULL check at line 786
776 static void mdd_changelog_rec_ext_rename(struct changelog_rec *rec, 777 const struct lu_fid *sfid, 778 const struct lu_fid *spfid, 779 const struct lu_name *sname) 780 { 781 struct changelog_ext_rename *rnm = changelog_rec_rename(rec); 782 size_t extsize = sname->ln_namelen + 1; 783 784 LASSERT(sfid != NULL); 785 LASSERT(spfid != NULL); 786 LASSERT(sname != NULL); |
| Comments |
| Comment by Gerrit Updater [ 12/May/18 ] |
|
Arshad Hussain (arshad.super@gmail.com) uploaded a new patch: https://review.whamcloud.com/32376 |
| Comment by Gerrit Updater [ 21/May/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/32376/ |
| Comment by Peter Jones [ 21/May/18 ] |
|
Landed for 2.12 |