Bug 20661 - Use gcc stpncpy builtin chk function
Summary: Use gcc stpncpy builtin chk function
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: string (show other bugs)
Version: 2.24
: P2 normal
Target Milestone: ---
Assignee: Adhemerval Zanella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-30 16:41 UTC by Adhemerval Zanella
Modified: 2016-10-04 10:44 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adhemerval Zanella 2016-09-30 16:41:37 UTC
Current string3.h comments states GCC does not provide stpncpy_chk builtin. However since r182378 GCC does provide stpncpy_chk builtin support and it is included in official GCC 4.7.4 package (so it should be fine to use on GLIBC without GCC version guards).