git: tmpfs - Fix mount_tmpfs -C

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 16 14:25:25 PDT 2016


commit b93d6cf83513ec3fab0596971508fb79232443f2
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Oct 16 14:23:44 2016 -0700

    tmpfs - Fix mount_tmpfs -C
    
    * Fix mount_tmpfs -C.  FSCopy requires the contents of the pointer
      whos address is passed into it to be properly initialized (to NULL
      in this case).
    
    * Fixes -O2 compilation of rtld & mount_tmpfs which were not problems
      with -O2 itself but instead changed the uninitialized garbage of the
      local variable we fixed above.
    
    reported-by: zrj

Summary of changes:
 sbin/mount_tmpfs/mount_tmpfs.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list