]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
src/rrd_tune.c: fix Coverity CID#32424 Improper use of negative value
authorMarek Schimara <Marek.Schimara@bull.net>
Wed, 15 Jun 2016 07:59:25 +0000 (09:59 +0200)
committerMarek Schimara <Marek.Schimara@bull.net>
Thu, 23 Jun 2016 14:32:32 +0000 (16:32 +0200)
commit2dbf5f70cedcafec2350e2178a2b9ae85997743b
treef00c617b47f5d1162624bba34f90aac6ec61bbdf
parentcd139a88f4994c3560b56d0a3166ebfc395e42b8
src/rrd_tune.c: fix Coverity CID#32424 Improper use of negative value

        CWE-394 / https://cwe.mitre.org/data/definitions/394.html

        Note: optparse_init() and optparse_long() which can modify the
        'options' variable in rrd_tune() can never set options.optind
        to a negative value.
src/rrd_tune.c