• Alex Henrie's avatar
    server: Fix buffer overrun in map_view handler. · 40d54217
    Alex Henrie authored
    Because of padding at the end of the struct, sizeof(*view) is greater
    than offsetof(struct memory_view, name[0]). Change the allocation to
    overallocate slightly instead of underallocating slightly.
    
    (cherry picked from commit 94d6e616)
    40d54217
mapping.c 46.7 KB