aboutsummaryrefslogtreecommitdiffstats
path: root/src/stringutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-02-10 13:49:51 +0000
committerWerner Koch <[email protected]>2020-02-10 13:49:51 +0000
commitd72c1ddfde09ffa69745ec2439c5a16d15e2202f (patch)
treeff49a15479417a78988107210ef95a0b6dbbfb74 /src/stringutils.c
parentPost release updates (diff)
downloadlibgpg-error-d72c1ddfde09ffa69745ec2439c5a16d15e2202f.tar.gz
libgpg-error-d72c1ddfde09ffa69745ec2439c5a16d15e2202f.zip
logging: Also protect gpgrt_inc_errorcount against counter overflow.
* src/logging.c (_gpgrt_inc_errorcount): Protect against counter overflow. (_gpgrt_logv_internal): Use that function here so that we have only one check for counter overflow. -- We already had an overflow checking for log_error but not for the silent increment function. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/stringutils.c')
0 files changed, 0 insertions, 0 deletions