git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1329c82
)
block. not sure...
author
Günther Deschner
<gd@samba.org>
Sun, 24 Sep 2017 15:57:19 +0000
(17:57 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 10 Feb 2020 14:14:02 +0000
(15:14 +0100)
source4/torture/smb2/block.c
patch
|
blob
|
history
diff --git
a/source4/torture/smb2/block.c
b/source4/torture/smb2/block.c
index fa39ae1df9165494708c467b6399765d60b550e6..32a93d364678d1ccb90dd62a0ee15685e4355dbb 100644
(file)
--- a/
source4/torture/smb2/block.c
+++ b/
source4/torture/smb2/block.c
@@
-120,6
+120,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;
}