[PATCH] restructure messaging

Volker Lendecke vl at samba.org
Mon Oct 10 13:53:06 UTC 2016

Andrew Bartlett <abartlet at samba.org> writes:

> On Wed, 2016-10-05 at 16:35 +0200, Volker Lendecke wrote:
> ../source4/lib/messaging/tests/messaging.c: In function
> ‘overflow_md5_parent_handler’:
> ../source4/lib/messaging/tests/messaging.c:248:3: error: ‘memset’ used
> with constant zero length parameter; this could be due to transposed
> parameters [-Werror=memset-transposed-args]
>    memset(state->final, sizeof(state->final), 0);
>    ^
> cc1: all warnings being treated as errors
> I can't see however what final and done are for, or where they are
> checked, so I'm not confident on just the simple fix.

Updated patch attached.

Thanks, Volker
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20161010/8fab7e44/patch.ksh>

More information about the samba-technical mailing list