[PATCH] torture/ntlm_auth: read more than 2047 bytes as a line

Bob Campbell bobcampbell at catalyst.net.nz
Mon Jan 23 21:57:20 UTC 2017


Hi again,

It seems like the best way to see issues with your own patch is to post
it to a mailing list. Here's an updated version of that patch which
won't get stuck in a loop if it doesn't find a newline...

Thanks,
Bob


On 24/01/17 10:01, Bob Campbell wrote:
> Hi,
>
> This test would fail on our cloud due to assuming that a line was always
> 2047 bytes or less in length. This patch just repeatedly reads 2047
> bytes until it's found a newline character (or until it's reached the end).
>
> Please review and push if appropriate.
>
> Thanks,
> Bob
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-torture-ntlm_auth-do-not-assume-a-line-is-less-than-.patch
Type: text/x-patch
Size: 1396 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170124/3b26ca6c/0001-torture-ntlm_auth-do-not-assume-a-line-is-less-than-.bin>


More information about the samba-technical mailing list