[LU-7414] out_read() uses both tti_u.update and tti_u.rdbuf members of the same union Created: 10/Nov/15 Updated: 18/Nov/15 Resolved: 18/Nov/15 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.8.0 |
| Fix Version/s: | Lustre 2.8.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | John Hammond | Assignee: | Di Wang |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
out_read() uses fields from both the update and rdbuf members of the tti_u union in struct tgt_thread_info. This can lead to data corruption since those fields of the union are overlapping in memory. |
| Comments |
| Comment by Gerrit Updater [ 12/Nov/15 ] |
|
wangdi (di.wang@intel.com) uploaded a new patch: http://review.whamcloud.com/17129 |
| Comment by Gerrit Updater [ 17/Nov/15 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/17129/ |
| Comment by Joseph Gmitter (Inactive) [ 18/Nov/15 ] |
|
Landed for 2.8 |