• Nils Goroll's avatar
    silence flexelint · b6d06245
    Nils Goroll authored
    Dridi, phk and myself all stared at this piece of code and see no issue:
    res has been calloc'ed l elements. For any res[i] and res[j] access, i
    and j are less than l, respectively. l is not increased after the
    initial count of elements in s.
    
    Ref 9947307d
    
    Flexelint error:
    
                               _
    		res[i] = vp;
    mgt/mgt_vcl.c  749  Warning 661: Possible access of out-of-bounds
        pointer (1 beyond end of data) by operator '[' [Reference:
        file mgt/mgt_vcl.c: lines 719, 722, 727, 744, 747, 749]
    mgt/mgt_vcl.c  719  Info 831: Reference cited in prior message
    mgt/mgt_vcl.c  722  Info 831: Reference cited in prior message
    mgt/mgt_vcl.c  727  Info 831: Reference cited in prior message
    mgt/mgt_vcl.c  744  Info 831: Reference cited in prior message
    mgt/mgt_vcl.c  747  Info 831: Reference cited in prior message
    mgt/mgt_vcl.c  749  Info 831: Reference cited in prior message
    b6d06245
mgt_vcl.c 25 KB