git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ef59d7
)
block. not sure...
author
Günther Deschner
<gd@samba.org>
Sun, 24 Sep 2017 15:57:19 +0000
(17:57 +0200)
committer
Günther Deschner
<gd@samba.org>
Mon, 25 Jun 2018 12:56:40 +0000
(14:56 +0200)
source4/torture/smb2/block.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/block.c
b/source4/torture/smb2/block.c
index 54fc378e43a00bc2f258410cbed817fe2806e59c..29db460bbd3e42d597e7d6072bed104672827fcf 100644
(file)
--- a/
source4/torture/smb2/block.c
+++ b/
source4/torture/smb2/block.c
@@
-121,6
+121,12
@@
static const char *samba_chain_name(struct torture_context *tctx,
s = talloc_strdup(tctx, sm);
free(sm);
+ if (strlen(s) > 29) {
+ torture_warning(tctx,
+ "chain name '%s' long than 29 characters\n", s);
+ return NULL;
+ }
+
return s;
}