- 09 Jan, 2016 1 commit
-
-
Andrei Borzenkov authored
Found by: Coverity scan. CID: 156531
-
- 27 Jul, 2015 1 commit
-
-
Vladimir Serbinenko authored
HFS doesn't handle "." and ".." properly. Convert it to fshelp to reuse the logic.
-
- 25 Jan, 2015 2 commits
-
-
Vladimir Serbinenko authored
Found by: Coverity scan.
-
Vladimir Serbinenko authored
Found by: Coverity scan.
-
- 21 Jan, 2015 1 commit
-
-
Vladimir Serbinenko authored
-
- 22 Sep, 2014 1 commit
-
-
Andrey Borzenkov authored
This tries to catch all cases where grub_cpu_to_XXX was used for constant expressions (including sizeof).
-
- 17 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
-
- 15 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
Just "packed" doesn't always pack the way we expect.
-
- 20 Oct, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
Reduces hfs.mod by 8 bytes (52 compressed).
-
- 10 Mar, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
maximum size is 4G - 1 on hfs
-
- 02 Mar, 2013 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 27 Feb, 2013 1 commit
-
-
Colin Watson authored
* include/grub/disk.h (grub_disk_read_hook_t): New type. (struct grub_disk): Add read_hook_data member. * include/grub/file.h (struct grub_file): Likewise. * include/grub/fshelp.h (grub_fshelp_read_file): Add read_hook_data argument. Update all callers.
-
- 21 Jan, 2013 1 commit
-
-
Colin Watson authored
* include/grub/fs.h (grub_fs_dir_hook_t): New type. (struct grub_fs.dir): Add hook_data argument. Update all implementations and callers.
-
- 26 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/hfs.c (macroman_to_utf8): New argument slash_translate. (grub_hfs_dir): Tanslate slash. (grub_hfs_label): Don't translate slash.
-
- 28 May, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
initialisation to avoid __bzero reference.
-
- 12 May, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/ext2.c (grub_ext2_mount): Likewise. * grub-core/fs/hfs.c (grub_hfs_mount): Likewise. * grub-core/fs/hfsplus.c (grub_hfsplus_mount): Likewise. * grub-core/fs/jfs.c (grub_jfs_mount): Likewise. * grub-core/fs/minix.c (grub_minix_mount): Likewise. * grub-core/fs/ntfs.c (grub_ntfs_mount): Likewise. * grub-core/fs/romfs.c (grub_romfs_mount): Likewise. * grub-core/fs/xfs.c (grub_xfs_mount): Likewise.
-
- 28 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
Fix source dir check.
-
- 08 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
on it.
-
- 15 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
(utf8_to_macroman): Do the opposite. * grub-core/fs/hfsplus.c (grub_hfsplus_iterate_dir): Convert / to :.
-
- 14 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/bus/usb/usbhub.c (grub_usb_add_hub): Eliminate grub_min. (poll_nonroot_hub): Likewise. * grub-core/fs/affs.c (grub_affs_iterate_dir): Likewise. (grub_affs_label): Likewise. * grub-core/fs/btrfs.c (grub_btrfs_lzo_decompress): Likewise. * grub-core/fs/hfs.c (grub_hfs_dir): Likewise. (grub_hfs_label): Likewise. * grub-core/fs/hfsplus.c (grub_hfsplus_cmp_catkey): Likewise. * grub-core/fs/zfs/zfs.c (MIN): Remove. (zap_leaf_array_equal): Use grub_size. Remove MIN. (zap_leaf_array_get): Likewise. (dnode_get_path): Likewise. * grub-core/io/lzopio.c (grub_lzopio_read): Eliminate grub_min. * grub-core/io/xzio.c (grub_xzio_read): Likewise. * grub-core/script/execute.c (grub_script_break): Likewise. * grub-core/script/lexer.c (grub_script_lexer_record): Eliminate grub_max. * grub-core/script/yylex.l (grub_lexer_yyrealloc): Likewise. * include/grub/misc.h (grub_min): Removed. (grub_max): Likewise.
-
- 26 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
space to avoid overflows. (grub_hfs_label): Convert from macroman to UTF-8.
-
- 25 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/hfs.c (MAX_UTF8_PER_MAC_ROMAN): New define. (macroman): New const array. (macroman_to_utf8): New function. (utf8_to_macroman): Likewise. (grub_hfs_find_dir): Use utf8_to_macroman. (grub_hfs_dir): Use macroman_to_utf8. Set case_insensitive.
-
- 14 Dec, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
(grub_hfs_iterate_dir): Likewise.
-
- 16 Oct, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/fs/affs.c (grub_affs_read_file): Use grub_off_t for offset. * grub-core/fs/afs.c (grub_afs_read_file): Likewise. * grub-core/fs/fshelp.c (grub_fshelp_find_file): Remove leftover variable. * grub-core/fs/hfs.c (grub_hfs_read_file): Use grub_off_t for offset and connected types. * grub-core/fs/nilfs2.c (grub_nilfs2_read_file): Use grub_off_t for offset. (grub_nilfs2_iterate_dir): Use grub_off_t for fpos. * grub-core/fs/sfs.c (grub_sfs_read_file): Use grub_off_t for offset. * grub-core/fs/ufs.c (grub_ufs_read_file): Use grub_off_t for offset and connected types.
-
- 27 Jun, 2011 1 commit
-
-
Yves Blusseau authored
* grub-core/fs/fat.c: Display the filename when file is not found. * grub-core/fs/fshelp.c: Likewise. * grub-core/fs/hfs.c: Likewise. * grub-core/fs/jfs.c: Likewise. * grub-core/fs/minix.c: Likewise. * grub-core/fs/ufs.c: Likewise. * grub-core/fs/btrfs.c: Likewise. * grub-core/commands/i386/pc/play.c: Likewise.
-
- 12 Apr, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
guidelines. * grub-core/kern/dl.c (grub_dl_check_license): New function. (grub_dl_load_core): Use grub_dl_check_license. * include/grub/dl.h (GRUB_MOD_SECTION): New macro. (GRUB_MOD_LICENSE): Likewise. (GRUB_MOD_DUAL_LICENSE): Likewise. All modules updated.
-
- 11 Dec, 2010 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 06 May, 2010 1 commit
-
-
BVK Chaitanya authored
-
- 20 Jan, 2010 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 04 Jan, 2010 1 commit
-
-
Robert Millan authored
* boot/i386/pc/boot.S: Update copyright year. * boot/i386/pc/cdboot.S: Likewise. * boot/i386/pc/diskboot.S: Likewise. * boot/i386/pc/lnxboot.S: Likewise. * boot/i386/pc/pxeboot.S: Likewise. * bus/pci.c: Likewise. * commands/cmp.c: Likewise. * commands/help.c: Likewise. * commands/hexdump.c: Likewise. * commands/i386/pc/halt.c: Likewise. * commands/i386/pc/play.c: Likewise. * commands/i386/pc/vbeinfo.c: Likewise. * commands/ls.c: Likewise. * commands/test.c: Likewise. * disk/dmraid_nvidia.c: Likewise. * disk/i386/pc/biosdisk.c: Likewise. * disk/ieee1275/nand.c: Likewise. * disk/ieee1275/ofdisk.c: Likewise. * disk/lvm.c: Likewise. * disk/raid.c: Likewise. * disk/raid6_recover.c: Likewise. * disk/scsi.c: Likewise. * fs/affs.c: Likewise. * fs/cpio.c: Likewise. * fs/ext2.c: Likewise. * fs/hfs.c: Likewise. * fs/iso9660.c: Likewise. * fs/ntfs.c: Likewise. * fs/sfs.c: Likewise. * fs/udf.c: Likewise. * fs/ufs.c: Likewise. * fs/xfs.c: Likewise. * gencmdlist.sh: Likewise. * genmk.rb: Likewise. * include/grub/disk.h: Likewise. * include/grub/efi/api.h: Likewise. * include/grub/efi/efi.h: Likewise. * include/grub/efi/pe32.h: Likewise. * include/grub/elf.h: Likewise. * include/grub/fs.h: Likewise. * include/grub/i386/at_keyboard.h: Likewise. * include/grub/i386/pc/memory.h: Likewise. * include/grub/i386/pc/vbe.h: Likewise. * include/grub/i386/pci.h: Likewise. * include/grub/i386/tsc.h: Likewise. * include/grub/ieee1275/ieee1275.h: Likewise. * include/grub/ntfs.h: Likewise. * include/grub/sparc64/ieee1275/ieee1275.h: Likewise. * include/grub/sparc64/libgcc.h: Likewise. * include/grub/symbol.h: Likewise. * include/grub/types.h: Likewise. * include/multiboot2.h: Likewise. * io/gzio.c: Likewise. * kern/device.c: Likewise. * kern/disk.c: Likewise. * kern/efi/efi.c: Likewise. * kern/efi/mm.c: Likewise. * kern/elf.c: Likewise. * kern/file.c: Likewise. * kern/i386/dl.c: Likewise. * kern/i386/pc/init.c: Likewise. * kern/i386/pc/startup.S: Likewise. * kern/ieee1275/ieee1275.c: Likewise. * kern/ieee1275/init.c: Likewise. * kern/main.c: Likewise. * kern/mm.c: Likewise. * kern/powerpc/dl.c: Likewise. * kern/sparc64/dl.c: Likewise. * kern/x86_64/dl.c: Likewise. * lib/hexdump.c: Likewise. * loader/efi/appleloader.c: Likewise. * loader/i386/ieee1275/linux.c: Likewise. * loader/i386/pc/chainloader.c: Likewise. * loader/i386/pc/linux.c: Likewise. * loader/i386/pc/multiboot2.c: Likewise. * loader/ieee1275/multiboot2.c: Likewise. * loader/multiboot2.c: Likewise. * loader/multiboot_loader.c: Likewise. * loader/powerpc/ieee1275/linux.c: Likewise. * normal/completion.c: Likewise. * normal/menu_entry.c: Likewise. * partmap/apple.c: Likewise. * util/grub.d/10_hurd.in: Likewise. * util/hostfs.c: Likewise. * video/readers/png.c: Likewise.
-
- 29 Dec, 2009 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 25 Dec, 2009 1 commit
-
-
carles authored
* commands/efi/loadbios.c: Capitalize acronyms, replace `could not' by `couldn't' and `can not' by `cannot'. * commands/i386/pc/drivemap.c: Likewise. * disk/ata.c: Likewise. * disk/ieee1275/nand.c: Likewise. * fs/affs.c: Likewise. * fs/fat.c: Likewise. * fs/hfs.c: Likewise. * fs/hfsplus.c: Likewise. * fs/iso9660.c: Likewise. * fs/jfs.c: Likewise. * fs/minix.c: Likewise. * fs/reiserfs.c: Likewise. * fs/sfs.c: Likewise. * fs/udf.c: Likewise. * fs/ufs.c: Likewise. * fs/xfs.c: Likewise. * loader/powerpc/ieee1275/linux.c: Likewise. * loader/sparc64/ieee1275/linux.c: Likewise. * util/grub-probe.c: Likewise. * util/misc.c: Likewise.
-
- 16 Dec, 2009 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
UUID support for HFS. * fs/hfs.c (grub_hfs_uuid): New function. (grub_hfs_fs): New value .uuid. * include/grub/hfs.h (grub_hfs_sblock): New field 'num_serial'.
-
- 28 Aug, 2009 1 commit
-
-
phcoder authored
* kern/file.c (grub_file_read): Check offset. * fs/hfs.c (grub_hfs_read_file): Remove unnecessary offset check. * fs/jfs.c (grub_jfs_read_file): Likewise. * fs/ntfs.c (grub_ntfs_read): Likewise. * fs/reiserfs.c (grub_reiserfs_read): Likewise. * fs/minix.c (grub_minix_read_file): Correct offset check. * fs/ufs.c (grub_ufs_read_file): Likewise.
-
- 11 Jun, 2009 1 commit
-
-
fzielcke authored
-
- 08 Jun, 2009 1 commit
-
-
proski authored
* fs/hfs.c (grub_hfs_find_dir): Use union to avoid a warning about aliasing.
-
- 03 Jun, 2009 1 commit
-
-
fzielcke authored
* fs/hfs.c (grub_hfs_find_dir): Skip sequences of slashes, not just one slash. That's how grub_fshelp_find_file() does it.
-
- 14 May, 2009 1 commit
-
-
proski authored
* kernel/disk.c (grub_disk_read): Use void pointer for the buffer. (grub_disk_write): Use const void pointer for the buffer. Adjust all callers. Remove unnecessary casts.
-
- 05 May, 2009 1 commit
-
-
proski authored
* include/grub/dl.h [GRUB_UTIL]: Provide inline implementations of grub_dl_ref() and grub_dl_unref(). * commands/parttool.c: Remove preprocessor conditionals around grub_dl_ref() and grub_dl_unref(). * fs/affs.c: Likewise. * fs/afs.c: Likewise. * fs/cpio.c: Likewise. * fs/ext2.c: Likewise. * fs/fat.c: Likewise. * fs/hfs.c: Likewise. * fs/hfsplus.c: Likewise. * fs/iso9660.c: Likewise. * fs/jfs.c: Likewise. * fs/minix.c: Likewise. * fs/ntfs.c: Likewise. * fs/reiserfs.c: Likewise. * fs/sfs.c: Likewise. * fs/udf.c: Likewise. * fs/ufs.c: Likewise. * fs/xfs.c: Likewise. * include/grub/dl.h: Likewise. * loader/xnu.c: Likewise.
-