• Pascal Buhler's avatar
    bitvector of length zero is not valid · b44764bf
    Pascal Buhler authored
    Fixes coverity scan issues 179781
    If the length resulted in l == 0 then there was no
    allocation of word, which could subsequently be
    dereferenced. Treat length of zero as invalid to
    avoid dealing with it.
datatypes.c 12 KB