• Martin Blix Grydeland's avatar
    Avoid buffer read overflow on vcl_error and -sfile · 176f8a07
    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
    176f8a07
cache_fetch.c 28.5 KB