aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation
diff options
authorChristopher Li <sparse@chrisli.org>2015-02-05 21:45:15 -0800
committerChristopher Li <sparse@chrisli.org>2015-02-06 05:46:48 -0800
commitde1fa7e60d3d179a1b67c47a0429b2d0ac4e4842 (patch)
treea85f7e3aade9c65addc480fb993d882b4e4cdfdc /validation
parent1a900d9f37bb060329274970b25753181ce14223 (diff)
downloadsparse-dev-de1fa7e60d3d179a1b67c47a0429b2d0ac4e4842.tar.gz
Make macro expanded string immutable
The string is shared between different macro expand. It is wrong to modify the string in place if the string is used in a macro. Avoid overwriting the string in that case. Reported-by: Rasmus Villemoes <linux@rasmusvillemoes.dk> Tested-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com> Signed-off-by: Christopher Li <sparse@chrisli.org>
Diffstat (limited to 'validation')
0 files changed, 0 insertions, 0 deletions