Author: delphij
Date: Mon Mar 18 20:36:25 2013
New Revision: 248474
URL: http://svnweb.freebsd.org/changeset/base/248474

Log:
  MFC r248279:
  
  Correct type for DIOCGSTRIPESIZE.  Without this there
  would be a stack overflow which will crash the program
  later.
  
  PR:           bin/176953
  Submitted by: r4721 tormail org

Modified:
  stable/9/sbin/recoverdisk/recoverdisk.c
Directory Properties:
  stable/9/sbin/recoverdisk/   (props changed)

Modified: stable/9/sbin/recoverdisk/recoverdisk.c
==============================================================================
--- stable/9/sbin/recoverdisk/recoverdisk.c     Mon Mar 18 20:22:40 2013        
(r248473)
+++ stable/9/sbin/recoverdisk/recoverdisk.c     Mon Mar 18 20:36:25 2013        
(r248474)
@@ -156,7 +156,7 @@ main(int argc, char * const argv[])
        int error, state;
        u_char *buf;
        u_int sectorsize;
-       u_int stripesize;
+       off_t stripesize;
        time_t t1, t2;
        struct stat sb;
        u_int n, snapshot = 60;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to