summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ndb/convM2DNS.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-11-28 23:06:03 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-11-28 23:06:03 +0100
commitb77eda8fc739976e6894186f9610f2c955a2fe01 (patch)
tree67a8e35f35a2a8eb50290b9f842b545ce9b6d355 /sys/src/cmd/ndb/convM2DNS.c
parentda6a10c417f16c26978b8db8c4fa0f35ac89ad73 (diff)
u9fs: fix misuse of Fcall.afid in p9any authentication module. (from sources patch/u9fs-afid)
U9fs(4) misuses Fcall.afid in its p9any authentication module. The afid field of Fcall structure is only valid with Tauth or Tattach. Tread, Twrite, Tclunk should use rx->fid instead. It's been lucky so far to get the job done because rx->afid survives from previous Tauth/Tattach. The issue pops up when several authentications happen concurrently. Test case: u9fs = 'host with u9fs on tcp!*!564' 9fs $u9fs; for(i in 1 2 3 4 5 6 7 8){ 9fs $u9fs & }; wait Should: no errors Should not: mount failed: authentication failed
Diffstat (limited to 'sys/src/cmd/ndb/convM2DNS.c')
0 files changed, 0 insertions, 0 deletions