Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 1996 01:03:23 +0100
From:      Aage Roebekk <aagero@birk04.studby.uio.no>
To:        freebsd-bugs@freebsd.org
Subject:   unsigned 32 bit uid breaks ar(1)
Message-ID:  <199603030003.BAA00291@birk04.studby.uio.no>

next in thread | raw e-mail | index | archive | help
If someone e.g. on NFS as root, which maps to uid -2, creates a
archive with ar(1), the uid field overflows the 6 character array
declared in the structure defined in /usr/include/ar.h. This can be a
problem when e.g. doing a "make world" on a NFS mounted
filesystem. Perhaps an option to use 16 bit unsigned uids would be
appropriate? Editing the ar structure is of course not an option,
which would break all implementations expecting char[6] uid and
char[6] gid.

-aage



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603030003.BAA00291>