[LU-7937] Result of malloc that may return NULL will be dereferenced Created: 29/Mar/16 Updated: 25/Apr/16 Resolved: 25/Apr/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Dmitry Eremin (Inactive) | Assignee: | Dmitry Eremin (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | kw | ||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
if (popt->po_delete && argv[i][len - 1] != '=') { buf = malloc(len + 1); sprintf(buf, "%s=", argv[i]); } else { buf = argv[i]; } |
| Comments |
| Comment by Gerrit Updater [ 29/Mar/16 ] |
|
Dmitry Eremin (dmitry.eremin@intel.com) uploaded a new patch: http://review.whamcloud.com/19194 |
| Comment by Gerrit Updater [ 22/Apr/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/19194/ |
| Comment by Dmitry Eremin (Inactive) [ 25/Apr/16 ] |
|
Patch landed to master. |