git: DragonFly_RELEASE_3_8 boot - Fix two bugs in the ufs code.

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Aug 7 22:38:56 PDT 2014


commit a04a6e6c39cfcff191d869fbe146a7d5ef4057cc
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Aug 7 22:31:46 2014 -0700

    boot - Fix two bugs in the ufs code.
    
    * Fix an incorrect start f_seekp position on open().  When open()ing a path
      the fp is used for the directory search.  A seek position left over from
      the directory search can wind up being left in place after the file has
      been located and openned, causing the starting seek position to not be 0.
    
    * Fixes problems with the boot loader not detecting valid modules or a
      valid kernel image.
    
    * Handle an overflow case in fp->f_nindir[] initialization.  This case will
      not normally occur.

Summary of changes:
 lib/libstand/ufs.c | 6 ++++++
 1 file changed, 6 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a04a6e6c39cfcff191d869fbe146a7d5ef4057cc


-- 
DragonFly BSD source repository



More information about the Commits mailing list