1. 11 Mar, 2016 1 commit
  2. 27 Feb, 2016 1 commit
  3. 12 Feb, 2016 1 commit
  4. 11 Feb, 2016 2 commits
  5. 17 Jan, 2016 1 commit
  6. 15 Jan, 2016 1 commit
  7. 13 Jan, 2016 2 commits
  8. 12 Nov, 2015 1 commit
  9. 26 Jun, 2015 1 commit
  10. 21 Jun, 2015 4 commits
  11. 07 May, 2015 3 commits
  12. 28 Mar, 2015 1 commit
  13. 27 Jan, 2015 1 commit
  14. 26 Jan, 2015 3 commits
  15. 21 Jan, 2015 2 commits
  16. 01 Dec, 2014 1 commit
  17. 14 Oct, 2014 1 commit
  18. 22 Sep, 2014 1 commit
  19. 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
  20. 22 Jun, 2014 1 commit
  21. 04 Apr, 2014 1 commit
  22. 28 Feb, 2014 2 commits
  23. 18 Jan, 2014 1 commit
    • Andrey Borzenkov's avatar
      fix include loop on MinGW due to libintl.h pulling stdio.h · f371dd5d
      Andrey Borzenkov authored
      In file included from ./include/grub/dl.h:23:0,
                       from grub-core/lib/libgcrypt-grub/cipher/rfc2268.c:3:
      ./include/grub/list.h:34:18: warning: conflicting types for 'grub_list_push' [en
      abled by default]
       void EXPORT_FUNC(grub_list_push) (grub_list_t *head, grub_list_t item);
                        ^
      ./include/grub/symbol.h:68:25: note: in definition of macro 'EXPORT_FUNC'
       # define EXPORT_FUNC(x) x
                               ^
      In file included from ./include/grub/fs.h:30:0,
                       from ./include/grub/file.h:25,
                       from ./grub-core/lib/posix_wrap/stdio.h:23,
                       from c:\mingw\include\libintl.h:314,
                       from ./include/grub/i18n.h:33,
                       from ./include/grub/misc.h:27,
                       from ./include/grub/list.h:25,
                       from ./include/grub/dl.h:28,
                       from grub-core/lib/libgcrypt-grub/cipher/rfc2268.c:3:
      ./include/grub/partition.h:106:3: note: previous implicit declaration of 'grub_l
      ist_push' was here
         grub_list_push (GRUB_AS_LIST_P (&grub_partition_map_list),
         ^
      list.h needs just ATTRIBUTE_ERROR from misc.h; split compiler features
      into separate file grub/compiler.h and include it instead.
      f371dd5d
  24. 18 Dec, 2013 5 commits
  25. 17 Dec, 2013 1 commit