First fixes for https://bugzilla.samba.org/show_bug.cgi?id=11141 (11316)

Jeremy Allison jra at samba.org
Thu Jun 11 15:09:32 MDT 2015


On Mon, Jun 08, 2015 at 10:45:36AM +0200, Stefan (metze) Metzmacher wrote:
> Hi,
> 
> here're fixes which should fix the generic problem which can happen
> in a lot of other places too.
> 
> I choose to use the tdgram/tstream abstraction in non performance critical
> places, as it has the prevention of this bug builtin.
> In other places I kept the low-level read_packet_send/recv and
> writev_send/recv
> calls and added the protection by hand.
> 
> I've create a new bug report here:
> https://bugzilla.samba.org/show_bug.cgi?id=11316
> 
> Please review carefully and push.

Just FYI, I'm reviewing carefully and am pushing the
first few.

More as I get them reviewed !


More information about the samba-technical mailing list