• Milan Broz's avatar
    Fix warnings reported by static analysis. · 683e4db4
    Milan Broz authored
    - ensure that strings are \0 terminated (most of this is already
    handled on higher level anyway)
    
    - fix resource leak in error path in tcrypt.c
    
    - fix time of check/time of use race in sysfs path processing
    
    - insruct Coverity scanner to ignore constant expression in random.c
    (it is intented to stop compile-time misconfiguration of RNG that would be fatal)
    683e4db4
random.c 5.4 KB