summaryrefslogtreecommitdiff
path: root/lib/replace/getifaddrs.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-17Fix bug 10025 - Lack of Sanity Checking in calls to malloc()/calloc().Bill Parker1-0/+29
In reviewing various files in Samba-4.0.7, I found a number of instances where malloc()/calloc() were called without the checking the return value for a value of NULL, which would indicate failure. (NB. The changes needed to ccan, iniparser, popt and heimdal will be reported upstream, not patched inside Samba). Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Simo Source <idra@samba.org>
2013-06-03Bug 8997: change libreplace GPL source to LGPLDavid Disseldorp1-12/+16
libreplace currently includes socket.c and getifaddrs.c both of which are GPL licensed. Although not required, talloc and tdb build alongside this source, leading to some ambiguity regarding their LGPL licences. The following copyright holders have agreed to the GPL->LGPL change: lib/replace/getifaddrs.c Copyright (C) Andrew Tridgell 1998 Copyright (C) Jeremy Allison 2007 Copyright (C) Jelmer Vernooij <jelmer@samba.org> 2007 lib/replace/test/getifaddrs.c lib/replace/socket.c * Copyright (C) Michael Adam <obnox@samba.org> 2008 Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Jun 3 18:06:18 CEST 2013 on sn-devel-104
2010-02-02Change uint_t to unsigned int in lib/replaceMatt Kraai1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-02-23More warning fixes for Solaris.Jeremy Allison1-9/+0
Jeremy.
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+361