• Martin Blix Grydeland's avatar
    Avoid buffer read overflow on vcl_error and -sfile · 19a73184
    Martin Blix Grydeland authored
    The file stevedore may return a buffer larger than asked for when
    requesting storage. Due to lack of check for this condition, the code
    to copy the synthetic error memory buffer from vcl_error would overrun
    the buffer.
    
    Patch by @shamger
    
    Fixes: #2429
    19a73184
cache_fetch.c 27.4 KB