[PATCH] libwbclient clear pointer on bad read

Jeremy Allison jra at samba.org
Thu Jan 15 13:44:15 MST 2015


On Thu, Jan 15, 2015 at 09:42:36PM +0100, Volker Lendecke wrote:
> On Thu, Jan 15, 2015 at 12:35:02PM -0800, Jeremy Allison wrote:
> > Oh, it's also used inside source3/libsmb/libsmb_context.c
> > too...
> > 
> > Probably be cleaner just to rip out this abstraction
> > layer and use pthread calls directly nowadays.
> 
> Yep, sorry for that. I'd think that pthreads will be
> supported for quite a long time on all the platforms we're
> interested in. It's gonna be a while before it's replaced by
> some native C11 successor threading.

Yep, pthreads have won the war. If I get some time
I'll redo the thing in terms of the standard interfaces.


More information about the samba-technical mailing list