Closed
Bug 1438426
Opened 7 years ago
Closed 7 years ago
stringop-truncation warning in pathsub.c
Categories
(NSS :: Build, enhancement)
NSS
Build
Tracking
(Not tracked)
RESOLVED
FIXED
3.37
People
(Reporter: mt, Assigned: mt)
Details
Attachments
(1 file)
This use of strncpy in pathsub.c is offending gcc 8:
strncpy(cp, "../", 3);
Changing this to memcpy works nicely.
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Comment on attachment 8951146 [details]
Bug 1438426 Avoid stringop-truncation warning
Franziskus Kiefer [:fkiefer or :franziskus] has approved the revision.
https://phabricator.services.mozilla.com/D596
Attachment #8951146 -
Flags: review+
Assignee | ||
Comment 3•7 years ago
|
||
Assignee: nobody → martin.thomson
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: 3.36 → 3.37
You need to log in
before you can comment on or make changes to this bug.
Description
•