[PATCH] fix return of resolve_ads if there is no answer

Jeremy Allison jra at samba.org
Wed Jul 1 10:54:02 MDT 2015


On Wed, Jul 01, 2015 at 08:19:47AM +0200, Michael Adam wrote:
> Hi,
> 
> Looking at autobuild-logs, I observed a ton of messages like
> 
> [...]/b5997/samba/bin/winbindd: resolve_ads: malloc failed for 0 entries
> 
> This uncovered that resolve_ads does not treat the
> case with 0 answers correctly. Attached is a patch
> to fix resolve_ads.
> 
> Review/Push appreciated.

Good catch ! Pushed.


More information about the samba-technical mailing list