mirror of
https://git.proxmox.com/git/grub2
synced 2025-05-28 18:25:28 +00:00
* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
zero-out of port structure.
This commit is contained in:
parent
cf94fd6209
commit
e42b99698c
@ -1,3 +1,8 @@
|
||||
2013-02-01 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/bus/usb/serial/common.c (grub_usbserial_attach): Fix missing
|
||||
zero-out of port structure.
|
||||
|
||||
2013-01-30 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* grub-core/fs/xfs.c (grub_xfs_read_block): Fix computation in presence
|
||||
|
@ -51,7 +51,7 @@ grub_usbserial_attach (grub_usb_device_t usbdev, int configno, int interfno,
|
||||
|
||||
interf = usbdev->config[configno].interf[interfno].descif;
|
||||
|
||||
port = grub_malloc (sizeof (*port));
|
||||
port = grub_zalloc (sizeof (*port));
|
||||
if (!port)
|
||||
{
|
||||
grub_print_error ();
|
||||
|
Loading…
Reference in New Issue
Block a user