Messages in this thread | | | Date | Sat, 22 Jul 2000 03:36:02 +0200 (CEST) | From | Bartlomiej Zolnierkiewicz <> | Subject | Re: TO HELL WITH IT THEN......(re: disk-destroyer.c) |
| |
On Fri, 21 Jul 2000, Oliver Xymoron wrote: > On Sat, 22 Jul 2000, Bartlomiej Zolnierkiewicz wrote: > > > Andre revealed "exploit" beacause most (all?) of his opponents were too > > lazy to look at patch and kernel's code and see what it is all about! > > Actually the patch posted doesn't have the fix, it says:
true but you can understand what this patch is for... and later posted patch (ide.2.4.0-t5-2.all.4c.patch) contains fix for disk-destroyer.c:
+ case WIN_WRITE: + case WIN_WRITE_VERIFY: + case WIN_WRITE_BUFFER: + case CFA_WRITE_SECT_WO_ERASE: + case WIN_DOWNLOAD_MICROCODE: + args->handler = &task_out_intr; + return (args->command_type == IDE_DRIVE_CMD) ? IDE_DRIVE_TASK_INVALID : IDE_DRIVE_TASK_RAW_WRITE;
> > + case WIN_WRITE: > + case WIN_WRITE_VERIFY: > + case WIN_WRITE_BUFFER: > + case CFA_WRITE_SECT_WO_ERASE: > + case WIN_DOWNLOAD_MICROCODE: > + args->handler = &task_out_intr; > + return IDE_DRIVE_TASK_RAW_WRITE; > > The fixed version returns TASK_INVALID. > > -- > "Love the dolphins," she advised him. "Write by W.A.S.T.E.."
-- Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |