And the prize for the most pain caused in the build farm for a simple
authorJeremy Allison <jra@samba.org>
Sat, 28 Feb 2009 04:57:49 +0000 (20:57 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 28 Feb 2009 04:57:49 +0000 (20:57 -0800)
typo goes to.....
Tim Prouty !!!!
Sorry Tim, nice test but you made a typo in passing in
the size of an array so we were reading uninitialized
memory :-).
That took far longer than it should have to track down...
(%$&#ing build system....).
The build farm should now slowly go back to normal.
Jeremy.

source4/torture/raw/streams.c

index bf87bd224f53d11f2ab422b7141c43ed95f8af2b..d0d21ccc06cfd8e59d3794c20fb397692fc98073 100644 (file)
@@ -1454,7 +1454,7 @@ static bool test_stream_create_disposition(struct torture_context *tctx,
        status = smb_raw_open(cli->tree, mem_ctx, &io);
        CHECK_STATUS(status, NT_STATUS_OK);
        smbcli_close(cli->tree, io.ntcreatex.out.file.fnum);
-       if (!check_stream_list(cli, fname, 2, &default_stream_name)) {
+       if (!check_stream_list(cli, fname, 1, &default_stream_name)) {
                goto done;
        }