uwrap: Make the unsigned_str smaller
authorAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Jul 2017 13:44:32 +0000 (15:44 +0200)
committerAndreas 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

index e6238792b118d817d315aa3faef1285d22ca9058..c31d7c1f51286b7dd684580cfc4c023e7e852a68 100644 (file)
@@ -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 */