[CRIU] [PATCH] mount: Reduce size of mkey in ext_mount_lookup
Radostin Stoyanov
rstoyanov1 at gmail.com
Mon Aug 27 17:22:39 MSK 2018
Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
---
criu/mount.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/criu/mount.c b/criu/mount.c
index 62e012ec..2df6134b 100644
--- a/criu/mount.c
+++ b/criu/mount.c
@@ -98,7 +98,7 @@ static char *ext_mount_lookup(char *key)
{
char *v;
int len = strlen(key);
- char mkey[len + 8];
+ char mkey[len + 6];
sprintf(mkey, "mnt[%s]", key);
v = external_lookup_by_key(mkey);
--
2.17.1
More information about the CRIU
mailing list