‘strncpy’ specified bound depends on the length of the source argument Details Type:Bug Resolution:Fixed Priority:Minor Fix Version/s:Lustre 2.13.0,Lustre 2.12.4 Affects Version/s:None Labels: None Severity: 3
| ~~~ src/write_splunk_test.c:204:7: error: ‘strncpy’ specified bound 128 equals destination size [-Werror=stringop-truncation] 204 | strncpy(vl.type, cases[i].type, sizeof(vl.type)); | ^~~~ src/write_splunk_test.c:206:7: error: ‘strncpy’ specified bound 128 equals destinati...
The following commit(s) were added to refs/heads/master by this push: new 0426c8c Fix error: 'strncpy' specified bound 16 equals destination size 0426c8c is described below commit 0426c8c09fdbed92cc0fc799d990bad9905822a8 Author: Xiang Xiao <xiaoxi...@xiaomi.com> AuthorDate: Sun Feb 13 ...