[Pkg-samba-maint] Bug#536640: freeifaddrs crash

Jelmer Vernooij jelmer at debian.org
Thu Jul 30 10:46:55 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

severity 536640 important
thanks

This seems to be caused by a crash while freeing interface information
returned by the standard libc function call getifaddrs(). We weren't
using this function call in older versions of Samba.

Does the following C application run without problems?

#include <ifaddrs.h>
#include <stdlib.h>

void main()
{
    struct ifaddrs *iflist = NULL;

    if (getifaddrs(&iflist) < 0) {
        puts("Failed");
        return;
    }
    freeifaddrs(iflist);
}

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJKcXoeAAoJEACAbyvXKaRXG0sP/RlYiIlYupZTFzFDrdFccuOy
3IIut26v3twBmSuE0TXR5CitzkVRDpnwSy4YKONa6x53MAEi73RYMvMEpoO6IHTU
opYA3sCalyE7la8sKsop3Z9UHvZeSE1930sbBjm9HuIYjCcn2Bz9I5LFLd3NneNN
IKhlM60EiFNPOV5L1RZFqz0pHrSP2vrsL7QAXJgJ9a+Y56TFLfXy85D6J/tID8Uj
uhgq/yWna54VZ7NP3JySJ9COwdnA0fPOuPJfAlIZR/KNvVl2ixXQ7j7Bk4I6F9wY
UC2HIRVp9XfvZpDla32KOXEMy4XXmXx+7oVIowmbfOoNDInAfrSLN515fv3rvKLI
LAPZzEjTGVexwIJnQjGyAKxDqDWwlPCimfPXogAoVicUSRrxPOYG4cJmmah8b+Si
sl+8/rmIGFR+XY6G41d7PRuV/+XSsEkXBPWgxz7OsQ+kNX8nj3ikUNRVf1K2xEXM
QqAhgAMgJi7i4iRv2L6ByG+IXiVTBJ4Rg5X4bbVtKqA9LsI8vQygfqeWEuNvYVle
Xn0ooA4Xk81s0zjm+PCt82A/j+aK2OApxq5KztkABVLe4LNlCp5ht6hyKW215H/E
3DxjgbCnsRGJAmVOPOV2MdKS9Jt+VQUxqVzN+sKbUGVjI2dqEK0Qz4lsSpMuwzXz
sPNTQR4+OMhcVRsb8iJn
=mydw
-----END PGP SIGNATURE-----






More information about the Pkg-samba-maint mailing list