- 16 Jan, 2016 1 commit
-
-
Andrei Borzenkov authored
If protocol open fails, file is immediately freed, so data was leaked. Found by: Coverity scan. CID: 96659
-
- 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).
-
- 21 Jan, 2014 1 commit
-
-
Paulo Flabiano Smorigo authored
* grub-core/net/arp.c (grub_net_arp_send_request): Increase network try interval gradually. * grub-core/net/icmp6.c (grub_net_icmp6_send_request): Likewise. * grub-core/net/net.c (grub_net_fs_read_real): Likewise. * grub-core/net/tftp.c (tftp_open): Likewise. * include/grub/net.h (GRUB_NET_INTERVAL_ADDITION): New define.
-
- 15 Dec, 2013 1 commit
-
-
Vladimir Serbinenko authored
Just "packed" doesn't always pack the way we expect.
-
- 27 Oct, 2013 1 commit
-
-
Vladimir Serbinenko authored
Try to handle more than 0xFFFF packets.
-
- 15 Aug, 2013 1 commit
-
-
Avik Sil authored
-
- 02 Jul, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
(tftp_receive): Likewise. Reported by: Michael Davidsaver.
-
- 23 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 22 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* grub-core/net/net.c (receive_packets): Decrease the stop to 10 packets but stop only if stop condition is satisfied. (grub_net_fs_read_real): Call packets_pulled after real read. Use `stall' instead of `eof' as stop condition. * grub-core/net/http.c (parse_line): Set `stall' on EOF. (http_err): Likewise. * grub-core/net/tftp.c (ack): Replace the first argument with data instead of socket. (tftp_receive): Stall if too many packets are in wait queue. (tftp_packets_pulled): New function. (grub_tftp_protocol): Set packets_pulled. * include/grub/net.h (grub_net_packets): New field count. (grub_net_put_packet): Increment count. (grub_net_remove_packet): Likewise. (grub_net_app_protocol): New field `packets_pulled'. (grub_net): New field `stall'.
-
- 09 Jun, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* include/grub/net.h (grub_net_poll_cards): New argument stop_condition. All users updated. * grub-core/net/arp.c (have_pending): New var. (pending_req): Likewise. (grub_net_arp_send_request): Fill pending_req and use have_pending as stop indicator. (grub_net_arp_receive): Set have_pending. * grub-core/net/dns.c (recv_data): New field stop. (recv_hook): Set stop. (grub_net_dns_lookup): Init stop and use as stop condition. * grub-core/net/http.c (http_establish): Use headers_recv as stop condition. * grub-core/net/net.c (grub_net_poll_cards): New argument stop_condition. Stop when it goes true. * grub-core/net/tcp.c (grub_net_tcp_open): Use `established' as stop indicator. * grub-core/net/tftp.c (tftp_open): Use `have_oack' as stop indicator.
-
- 08 May, 2012 1 commit
-
-
Bean authored
All users updated. (free_rsm): Free header as well. (free_old_fragments): Fix memory leak. * grub-core/net/netbuff.c (grub_netbuff_free): Make return void. * grub-core/net/tftp.c (tftp_receive): Fix memory leak. (destroy_pq): Likewise. * include/grub/net/netbuff.h (grub_netbuff_free): Make return void.
-
- 12 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
packets rather than raising an error.
-
- 08 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
on it.
-
- 05 Feb, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
* include/grub/err.h (GRUB_MAX_ERRMSG): ... here. * include/grub/err.h (grub_error_saved): New struct. (grub_errmsg): Make array size explicit. * include/grub/misc.h (grub_error_save): New function. (grub_error_load): Likewise. * grub-core/kern/err.c (grub_error_stack_items): Use grub_error_saved. (grub_error_push): Update `errno' member name. (grub_error_pop): Likewise * grub-core/net/tftp.c (tftp_data): New member save_err. (tftp_receive): Save error. (tftp_open): Restore error.
-
- 14 Jan, 2012 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
anymore. * grub-core/fs/ext2.c (EXT2_PATH_MAX): Removed. (EXT2_MAX_SYMLINKCNT): Likewise. * grub-core/fs/nilfs2.c (NILFS_BTREE_LEVEL_MAX): Likewise. * grub-core/net/tftp.c (TFTP_MAX_PACKET): Likewise. * include/grub/i386/pc/pxe.h (GRUB_PXE_MIN_BLKSIZE): Likewise. (GRUB_PXE_MAX_BLKSIZE): Likewise. * include/grub/normal.h (GRUB_MAX_CMDLINE): Likewise. * include/grub/zfs/dnode.h (DN_MAX_INDBLKSHIFT): Likewise. (DN_MAX_OBJECT_SHIFT): Likewise. (DN_MAX_OFFSET_SHIFT): Likewise. (DN_MAX_OBJECT): Likewise. (DNODES_PER_LEVEL_SHIFT): Likewise. * include/grub/zfs/spa.h (SPA_MAXBLOCKSHIFT): Likewise. (SPA_MAXBLOCKSIZE): Likewise. (SPA_BLOCKSIZES): Likewise. * include/grub/zfs/zap_impl.h (MZAP_MAX_BLKSHIFT): Likewise. (MZAP_MAX_BLKSZ): Likewise.
-
- 14 Oct, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 06 Oct, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 23 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 10 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 09 Jul, 2011 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 08 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 06 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 03 Jul, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 02 Jul, 2011 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-
- 26 Jun, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 25 Jun, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 19 Jun, 2011 1 commit
-
-
Manoel R. Abranches authored
-
- 08 Jun, 2011 1 commit
-
-
Manoel Rebelo Abranches authored
-
- 07 Jun, 2011 1 commit
-
-
Manoel Rebelo Abranches authored
-
- 19 May, 2011 1 commit
-
-
Vladimir 'phcoder' Serbinenko authored
-
- 13 May, 2011 1 commit
-
-
Manoel R. Abranches authored
-
- 10 May, 2011 2 commits
-
-
Manoel Rebelo Abranches authored
-
Manoel Rebelo Abranches authored
-
- 01 Apr, 2011 1 commit
-
-
Manoel Rebelo Abranches authored
-
- 23 Sep, 2010 2 commits
-
-
Vladimir 'phcoder' Serbinenko authored
-
Vladimir 'phcoder' Serbinenko authored
-