[LU-12447] Fedora28 Lustre client build failure Created: 18/Jun/19 Updated: 03/Jul/19 Resolved: 03/Jul/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Fedora release 28 (Twenty Eight) gcc (GCC) 8.0.1 20180324 (Red Hat 8.0.1-0.20) |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Hit following build failure when trying to build lustre master client: lfs.c:5571:4: error: ‘strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation]
strncpy(mntdir, dname, sizeof(mntdir));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lfs_project.c: In function ‘lfs_project_item_alloc’:
lfs_project.c:72:2: error: ‘strncpy’ specified bound 4096 equals destination size [-Werror=stringop-truncation]
strncpy(lpi->lpi_pathname, pathname, sizeof(lpi->lpi_pathname));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| Comments |
| Comment by Gerrit Updater [ 18/Jun/19 ] |
|
Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/35257 |
| Comment by Gerrit Updater [ 21/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35257/ |
| Comment by Gerrit Updater [ 21/Jun/19 ] |
|
Jian Yu (yujian@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35284 |
| Comment by Gerrit Updater [ 03/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35284/ |
| Comment by Peter Jones [ 03/Jul/19 ] |
|
Landed for 2.13 and 2.12.3 |