Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/fs/union



On Wed, Aug 24, 2005 at 03:21:28PM +0000, Takeshi Nakayama wrote:
> Modified Files:
>       src/sys/fs/union: union_vfsops.c
> 
> Log Message:
> statvfs(2) returns bogus result from union mounted file systems with
> `-r' option, since it uses uninitialized buffer in the case of no
> lower-layer file system.
> 
> So, add M_ZERO to malloc(9) flags to initialize the buffer.

*REQ: resolve

Pulled up:

sys/fs/union/union_vfsops.c                     1.28

        statvfs(2) returns bogus result from union mounted file systems with
        `-r' option, since it uses uninitialized buffer in the case of no
        lower-layer file system.
        [nakayama, ticket #708]

        Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/



Home | Main Index | Thread Index | Old Index