• Alex Henrie's avatar
    server: Fix buffer overrun in map_view handler. · 94d6e616
    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.
    94d6e616
mapping.c 46.7 KB