git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
204a46b
)
librpc:ndr: Fix comment
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Wed, 15 Nov 2023 02:07:53 +0000
(15:07 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 16 Nov 2023 05:18:36 +0000
(
05:18
+0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/ndr/ndr_string.c
patch
|
blob
|
history
diff --git
a/librpc/ndr/ndr_string.c
b/librpc/ndr/ndr_string.c
index ae30c4ac2e745fe733eee96a19d6ea9542b34888..80054fa9be6ce4c00ceca4ba83469b3da0532990 100644
(file)
--- a/
librpc/ndr/ndr_string.c
+++ b/
librpc/ndr/ndr_string.c
@@
-138,7
+138,7
@@
_PUBLIC_ enum ndr_err_code ndr_pull_string(struct ndr_pull *ndr, ndr_flags_type
case LIBNDR_FLAG_STR_NULLTERM:
/*
- * We ensure that conv_s
tr_len cannot return
0 by
+ * We ensure that conv_s
rc_len cannot equal
0 by
* requiring that there be enough bytes for at least
* the NULL terminator
*/