1. 22 Jan, 2016 1 commit
  2. 12 Nov, 2015 1 commit
  3. 09 Nov, 2015 2 commits
  4. 29 Oct, 2015 2 commits
  5. 07 May, 2015 1 commit
  6. 14 Oct, 2014 1 commit
  7. 21 Sep, 2014 1 commit
    • Peter Jones's avatar
      Initialized initrd_ctx so we don't free a random pointer from the stack. · 631a8200
      Peter Jones authored
      Currently, if "linux" fails, the "goto fail;" in grub_cmd_initrd sends us
      into grub_initrd_close() without grub_initrd_init() being called, and thus
      it never clears initrd_ctx->components.  grub_initrd_close() then frees that
      address, which is stale data from the stack.  If the stack happens to have a
      stale *address* there that matches a recent allocation, then you'll get a
      double free later.
      
      So initialize the memory up front.
      Signed-off-by: 's avatarPeter Jones <pjones@redhat.com>
      631a8200
  8. 26 Mar, 2014 1 commit
  9. 24 Jan, 2014 1 commit
  10. 07 Jan, 2014 1 commit
  11. 23 Dec, 2013 3 commits