mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 00:33:57 +00:00
Apply patch for PR #12008: remember to reset _yp_enabled flag in
endpwent() so we don't trip over a NULL db pointer later. PR: 12008 Submitted by: Valentin Netchayev <netch@lucky.net>
This commit is contained in:
parent
9c9906e912
commit
a180d48db0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=47721
|
@ -255,6 +255,8 @@ endpwent()
|
|||
_ypcache = (DB *)NULL;
|
||||
_yp_exclusions = 0;
|
||||
}
|
||||
/* Fix for PR #12008 */
|
||||
_yp_enabled = -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue