diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-17 17:54:20 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-18 10:01:42 +0100 |
commit | de38c4a5ea015f0f881b80f7ec0dcbaf323bc1e0 (patch) | |
tree | f64b582985e206db94067fb15df79f8aec2e3746 /soltools/cpp | |
parent | 08def65c78d2505b3602e1ac45440d342b2c17ad (diff) |
cid#1448469 Out-of-bounds access
add an annotation
Change-Id: I70a431fecd8a87f2167bdce53ec2397d22436a9d
Reviewed-on: https://gerrit.libreoffice.org/83025
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'soltools/cpp')
-rw-r--r-- | soltools/cpp/_macro.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/soltools/cpp/_macro.c b/soltools/cpp/_macro.c index eaafb86034ef..ef41b992edae 100644 --- a/soltools/cpp/_macro.c +++ b/soltools/cpp/_macro.c @@ -411,6 +411,7 @@ int ntok++; if (trp->tp >= trp->lp) { + // coverity[overrun-buffer-arg: FALSE] - a multiple of trp->max is allocated, not trp->max itself gettokens(trp, 0); if ((trp->lp - 1)->type == END) { |