[PATCH] libwbclient clear pointer on bad read

Matthew Newton mcn4 at leicester.ac.uk
Sun Jan 18 10:23:43 MST 2015


Hi,

On Sun, Jan 18, 2015 at 04:26:41PM +0100, Stefan (metze) Metzmacher wrote:
> Am 17.01.2015 um 02:44 schrieb Matthew Newton:
> > +	if ((fd_info = winbindd_fd_info()) == NULL) {
> > +		return;
> > +	}
> 
> Can you please change all changes like this into two lines:
> 
> fd_info = winbindd_fd_info();
> if (fd_info == NULL) {
> ...

No probs - I'll send updated patches.

Could you update README.Coding? It says both forms are acceptable
so I guess maybe it's out of date.

Cheers!

Matthew


-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the samba-technical mailing list