cvs commit: src/sys/dev/ata ata-lowlevel.c

Matthew N. Dodd mdodd at FreeBSD.org
Wed Mar 2 03:59:28 GMT 2005


mdodd       2005-03-02 03:59:28 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ata          ata-lowlevel.c 
  Log:
  Handle PIO timeouts in ata_end_transaction() by immediately returning.
  Failure to do this will result in following ata_pio_read() calls walking
  off the end of the read buffer.
  
  This resolves the "memory modified after free" panics common with Thinkpads
  and CD/DVD drives.
  
  Submitted by:    Nate Lawson <nate AT root.org>
  
  Revision  Changes    Path
  1.53      +3 -0      src/sys/dev/ata/ata-lowlevel.c


More information about the cvs-src mailing list