commit | 8df49ad2467ec2d48f94a925162185c34bf6e68b | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Wed Jun 13 16:57:27 2012 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Jun 14 12:52:42 2012 -0700 |
tree | 00161cd65c6292eebd000699534b554b2c52be0a | |
parent | 4442d512c66aa32a26fe2e652e55ad05249ea3da [diff] |
FORTIFY_SOURCE: add strlcpy / strlcat support Add strlcpy / strlcat support to FORTIFY_SOURCE. This allows us to do consistency checks on to ensure we don't overflow buffers when the compiler is able to tell us the size of the buffer we're dealing with. Unlike previous changes, this change DOES NOT use the compiler's builtin support. Instead, we do everything the compiler would normally do. Change-Id: I47c099a911382452eafd711f8e9bfe7c2d0a0d22