freebsd with flexible iflib nic queues
Go to file
Bill Paul 0c06051e16 Fix 'multidomain' code. It returns a pointer to memory that it doesn't
really own (and which can end up being mangled later). The manifestation
of this bug is that the first attempt by a user to change their NIS password
succeeds, but all subsequent attempts fail. rpc.yppasswdd also logs
a message about not being able to find a file called
'/var/yp/<some garbage string>/master.passwd.' (Note that for some
bizarre reason, this doesn't happen with the malloc() from FreeBSD 2.1.0.
I suppose this means we can chalk up another victory for phkmalloc. :)

This bug only occurs if you use the -m flag with rpc.yppasswdd.

Fix this by copying the domain name to a static buffer and returning
a pointer to that instead.

Reported by: Jian-Da Li (jdli@csie.nctu.edu.tw)
1996-05-08 15:57:11 +00:00
bin `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
eBones Localize time 1996-05-07 19:05:10 +00:00
etc Nuke the nasty cleaning of /var/run after netstart starts - it nukes 1996-05-08 09:25:57 +00:00
games Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
gnu `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
include Made this work with the documented prerequisite #includes (none). 1996-05-01 00:57:57 +00:00
lib `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
libexec `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
lkm `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
release Bring in some changes to make the FTP installation warn you if it can't 1996-05-05 21:54:23 +00:00
sbin Connect ccd man page and ccdconfig to parent Makefiles. 1996-05-04 08:30:22 +00:00
secure Localize time 1996-05-07 19:05:10 +00:00
share `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
sys *blush* How did this slip through? 1996-05-08 04:48:25 +00:00
tools Don't look in libkern, it went away. 1995-12-29 01:51:23 +00:00
usr.bin `mv'' -> `mv -f'' 1996-05-07 23:19:49 +00:00
usr.sbin Fix 'multidomain' code. It returns a pointer to memory that it doesn't 1996-05-08 15:57:11 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile 1) make -DCLOBBER not remove most of /usr/lib 1996-05-04 07:12:07 +00:00