Dear all,
It seems that libslp_knownda.c has a bug on line 716 (see
http://openslp.svn.sourceforge.net/viewvc/openslp/trunk/openslp/libslp/libslp_knownda.c?view=markup&pathrev=1672),
because sizeof(struct in_addr) is too small to copy the whole address.
This causes 'slptool findsrvtypes' to fail in case another host acts as
DA. This was introduced in r1597 (see
http://openslp.svn.sourceforge.net/viewvc/openslp?view=revision&revision=1597).
I guess it is safe to replace 'sizeof (struct in_addr)' with
'sizeof(struct sockaddr_storage)', but I'm not sure. If anyone can
confirm this, I'll commit the fix.
BR,
Roel
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Openslp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openslp-devel