9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] keyfs problem.
@ 2007-07-30  1:10 erik quanstrom
  0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2007-07-30  1:10 UTC (permalink / raw)
  To: 9fans

for some reason adding a user added to /adm/keys a few days ago also
added 11 bogus entries to my /adm/keys file.  i submitted a patch with
some defensive code (perhaps not defensive enough) to protect against
this.

bad entries in /adm/keys will cause /mnt/keys to contain illegal file names.
and could cause keyfs to segfault since it did not  ensure null termination
of names.

this problem has been causing odd problems for about a week.  naturally, it
would be better not to corrupt the file in the first place, but at least
this is a bit of defence until the real problem is located.

- erik


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-07-30  1:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-30  1:10 [9fans] keyfs problem erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).