Vladimir 'phcoder' Serbinenko
|
9c2710789f
|
Eliminate grub_min/grub_max prone to overflow usage.
* 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.
|
2012-01-14 15:44:34 +01:00 |
|
Vladimir 'phcoder' Serbinenko
|
d1e293bbfa
|
* grub-core/io/lzopio.c (test_header): Fix incorrect memcmp instead of
grub_memcmp usage.
|
2011-10-23 22:55:32 +02:00 |
|
Szymon Janc
|
bc4d3f4809
|
* grub-core/io/lzopio.c (calculate_uncompressed_size): Fix return code.
|
2011-10-04 21:10:21 +02:00 |
|
Szymon Janc
|
0e2b7e39f2
|
* grub-core/fs/btrfs.c: Include <minilzo.h> instead of "minilzo.h".
* grub-core/io/lzopio.c: Likewise.
|
2011-10-03 22:25:06 +02:00 |
|
Szymon Janc
|
c5ed9266fc
|
* grub-core/io/lzopio.c: Improve crypt context alignment.
|
2011-10-03 22:06:10 +02:00 |
|
Szymon Janc
|
9c4f9ca010
|
* grub-core/io/lzopio.c (test_header): Some cleanups.
|
2011-09-06 21:21:13 +02:00 |
|
Szymon Janc
|
90b0a05579
|
Various bug fixes and improvements in lzopio. Should properly handle more
files now. Also added support for lzop checksums verification.
|
2011-08-21 18:48:19 +02:00 |
|
Szymon Janc
|
d6beefcfc9
|
Add initial support for lzop files decompression.
* grub-core/Makefile.core.def (lzopio): New module.
* grub-core/io/lzopio.c: New file.
* include/grub/file.h (grub_file_filter_id): New compression filter
GRUB_FILE_FILTER_LZOPIO.
|
2011-08-17 19:40:25 +02:00 |
|