Skip to content
  • Curtis Larsen's avatar
    fix double free in grub_net_recv_tcp_packet · 06eadf5e
    Curtis Larsen authored
    Using the http module to download config files, produces memory errors,
    after the config file is downloaded.
    
    The error was traced to the tcp stack in grub-core/net/tcp.c. The wrong
    netbuff pointer was being freed in the clean up loop.
    
    Changing the code to free the correct netbuff pointer removes the runtime
    error.
    
    Closes 42765.
    06eadf5e