mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 21:13:11 +01:00
Grrrr... yet another variation on Murphy's Law: the best way to find
bugs in your code is to put it in the -stable branch. (Corollary: the day you discover the bug is the day the Internet decides to route your telnet session to the repository box via Zimbabwe.) Remove one bogus free(result) (from _havemaster()) that slipped by me. Flagged by: phkmalloc Pointed out to me by: Stefan Esser
This commit is contained in:
parent
110f70b852
commit
03cee47d84
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15668
@ -653,7 +653,6 @@ _havemaster(char *_pw_yp_domain)
|
||||
|
||||
if (yp_first(_pw_yp_domain, "master.passwd.byname",
|
||||
&key, &keylen, &result, &resultlen)) {
|
||||
free(result);
|
||||
return 0;
|
||||
}
|
||||
free(result);
|
||||
|
Loading…
Reference in New Issue
Block a user