diff options
| author | Christopher Li <sparse@chrisli.org> | 2015-02-05 21:45:15 -0800 |
|---|---|---|
| committer | Christopher Li <sparse@chrisli.org> | 2015-02-06 05:46:48 -0800 |
| commit | de1fa7e60d3d179a1b67c47a0429b2d0ac4e4842 (patch) | |
| tree | a85f7e3aade9c65addc480fb993d882b4e4cdfdc /validation/preprocessor | |
| parent | 1a900d9f37bb060329274970b25753181ce14223 (diff) | |
| download | sparse-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/preprocessor')
0 files changed, 0 insertions, 0 deletions
