From ec920f6367a074bcace07f011835668a22c7873c Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 13 Nov 2016 00:12:27 +0000 Subject: [PATCH] umount: move buffers off stack --- Applications/util/umount.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/util/umount.c b/Applications/util/umount.c index 7cb8cdc2..082bbeb8 100644 --- a/Applications/util/umount.c +++ b/Applications/util/umount.c @@ -32,8 +32,8 @@ int rm_mtab(char *devname) { FILE *inpf, *outf; char *tmp_fname; - char tmp[MTAB_LINE]; - char tmp2[MTAB_LINE]; + static char tmp[MTAB_LINE]; + static char tmp2[MTAB_LINE]; char* dev; char* mntpt; -- 2.34.1