Skip to content
Commit d5fe9e4d authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Add experimental -Wstrlcpy-size warning that looks to see if the size argument...

Add experimental -Wstrlcpy-size warning that looks to see if the size argument for strlcpy/strlcat is the size of the *source*, and not the size of the *destination*.  This warning is off by default (for now).

Warning logic provided by Geoff Keating.

llvm-svn: 137903
parent a9089639
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment