Re: nsdispatch services patch + lookupd
From: Danny Braniss (danny_at_cs.huji.ac.il)
Date: 10/27/04
- Previous message: Mikhail P.: "question on vinum"
- Maybe in reply to: Michael Bushkov: "nsdispatch services patch + lookupd"
- Next in thread: Jacques A. Vidrine: "Re: nsdispatch services patch + lookupd"
- Reply: Jacques A. Vidrine: "Re: nsdispatch services patch + lookupd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: bushman@rsu.ru Date: Wed, 27 Oct 2004 09:33:33 +0200
while trying to add hesiod/dns support, i've noticed, what looks as a problem:
in nss_tls.h, the function name##_getstate(...) can return a static pointer,
which gets freed in name##_endstate(...), as far as i know, freeing a non
malloced memory is asking for trouble.
proposed fix, instead of static, also do a calloc(...).
danny
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Mikhail P.: "question on vinum"
- Maybe in reply to: Michael Bushkov: "nsdispatch services patch + lookupd"
- Next in thread: Jacques A. Vidrine: "Re: nsdispatch services patch + lookupd"
- Reply: Jacques A. Vidrine: "Re: nsdispatch services patch + lookupd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]