Who would have guessed - checking returns from strlcat found a memory overwrite bug...
authorJeremy Allison <jra@samba.org>
Fri, 30 Mar 2012 17:57:51 +0000 (10:57 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 30 Mar 2012 19:26:07 +0000 (21:26 +0200)
source3/torture/torture.c

index b0c74e2f374245a73fc72139248ad1cb953ce7a3..1e9e59b2805ff0094a62ec375d58a66f64f40847 100644 (file)
@@ -7315,7 +7315,7 @@ static bool run_shortname_test(int dummy)
        bool correct = True;
        int i;
        struct sn_state s;
-       char fname[20];
+       char fname[40];
        NTSTATUS status;
 
        printf("starting shortname test\n");