* disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference.
This commit is contained in:
parent
99be513c3b
commit
986aad56c1
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2010-07-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* disk/scsi.c (grub_scsi_open): Fix incorrect pointer dereference.
|
||||||
|
|
||||||
2010-07-14 Anton Blanchard <anton@samba.org>
|
2010-07-14 Anton Blanchard <anton@samba.org>
|
||||||
|
|
||||||
* loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject
|
* loader/powerpc/ieee1275/linux.c (grub_cmd_linux): Do not reject
|
||||||
|
|
|
@ -402,7 +402,7 @@ grub_scsi_open (const char *name, grub_disk_t disk)
|
||||||
if (p->open (bus, scsi))
|
if (p->open (bus, scsi))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
disk->id = grub_make_scsi_id (scsi->dev->id, bus, lun);
|
disk->id = grub_make_scsi_id (p->id, bus, lun);
|
||||||
disk->data = scsi;
|
disk->data = scsi;
|
||||||
scsi->dev = p;
|
scsi->dev = p;
|
||||||
scsi->lun = lun;
|
scsi->lun = lun;
|
||||||
|
|
Loading…
Reference in a new issue