git.samba.org
/
uid_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a6e70
)
uwrap: Make the unsigned_str smaller
author
Andreas Schneider
<asn@cryptomilk.org>
Wed, 19 Jul 2017 13:44:32 +0000
(15:44 +0200)
committer
Andreas Schneider
<asn@samba.org>
Fri, 21 Jul 2017 15:19:36 +0000
(17:19 +0200)
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
src/uid_wrapper.c
patch
|
blob
|
history
diff --git
a/src/uid_wrapper.c
b/src/uid_wrapper.c
index e6238792b118d817d315aa3faef1285d22ca9058..c31d7c1f51286b7dd684580cfc4c023e7e852a68 100644
(file)
--- a/
src/uid_wrapper.c
+++ b/
src/uid_wrapper.c
@@
-825,7
+825,7
@@
static void uwrap_export_ids(struct uwrap_thread *id)
{
char groups_str[GROUP_STRING_SIZE] = {0};
size_t groups_str_size = sizeof(groups_str);
- char unsigned_str[
32] = {0};
+ char unsigned_str[
16] = {0}; /* We need 10 + 1 (+ 1) */
int i;
/* UIDS */