History log of /freebsd-10-stable/lib/libc/rpc/getnetconfig.c
Revision Date Author Comments
# 320582 03-Jul-2017 delphij

MFC r320494: Fix double free by reverting r300385 and r300624 which was
false positive reported by cppcheck.


# 309487 03-Dec-2016 ngie

MFC r288113:
r288113 (by rodrigc):

Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.


# 301687 08-Jun-2016 ngie

MFC r300624:

Fix up r300385

I accidentally glossed over the fact that tmp is manipulated via strchr, so
if we tried to free `tmp` after r300385, it would have crashed.

Create a separate pointer (tmp2) to track the original allocation of `tmp`,
and free `tmp2` if `p->nc_lookups` can't be malloced

CID: 1356026


# 301684 08-Jun-2016 ngie

MFC r300385:

Don't leak `tmp` if `p->nc_lookups` can't be malloced


# 290899 15-Nov-2015 ngie

MFC r290253:

Remove unnecessary `if (x)` tests before calling `free(x)`; free(3)
already employs this check

Sponsored by: EMC / Isilon Storage Division


# 261046 22-Jan-2014 mav

MFC r258578, r258580, r258581 (by hrs):
Replace Sun RPC license in TI-RPC library with a 3-clause BSD license
with the explicit permissions.


# 261046 22-Jan-2014 mav

MFC r258578, r258580, r258581 (by hrs):
Replace Sun RPC license in TI-RPC library with a 3-clause BSD license
with the explicit permissions.