pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48566 (getpwnam() fix and ECDH for sendmail from upstream)

On Tue, Jun 17, 2014 at 02:15:00PM +0000, Emmanuel Dreyfus wrote:
>  And with -current pkgsrc/mail/sendmail/paches, I can restore functionnality 
>  with this simple change (and make makepatchsum of course), hence re-entrant
>  resolver is the culprit.

I found two bugs in the pkgsrc patches for NAMED_RESN
- res_ninit is called regardless if the structure was already initialized
- there is a res_search left in sendmail/sm_resolve.c that does not have
a res_nsearch counterpart. If NAMED_RESN is defined I think it will operate
without proper resolver initiliazation.

Is that code really ready for being enabled by default?

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index