This patch should fix the last "undefined reference"-bug in openvas-libraries.
However it's not just that trivial as before, and my C knowledge is limited, so I'd prefer if some C-skilled people could review if the code still does what it should. The problem is that the current code uses _getshort, which is an internal function of glibc not meant to be used by anything else. -- Hanno Böck Blog: http://www.hboeck.de/ GPG: 3DBD3B20 Jabber/Mail: [EMAIL PROTECTED]
--- openvas-libraries-1.0.0/libopenvas_hg/hg_dns_axfr.c 2007-08-02 22:31:12.000000000 +0200
+++ openvas-libraries-1.0.0-patch/libopenvas_hg/hg_dns_axfr.c 2007-11-04 20:51:29.000000000 +0100
@@ -82,7 +82,7 @@
if ((cp = (u_char *)hg_dns_axfr_expand_name(cp, msg, name, sizeof(name))) == NULL)
return (NULL); /* compression error */
- type = _getshort(cp);
+ type = (short) cp;
cp += INT16SZ*3 + INT32SZ;
if(type == T_A)
{
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Openvas-devel mailing list [email protected] http://lists.wald.intevation.org/mailman/listinfo/openvas-devel
