summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-08-03 13:48:11 -0700
committerMohit Mehta <mohit.mehta@vyatta.com>2010-08-27 11:32:07 -0700
commitcfa746fb0d41a70843a851561136dc003745f14f (patch)
tree1faaa3c84bf0dc8bcdf6380878a55d9bc214a90c /src/common
parentfd6bde80731e56d6bd35586ddaaf06536bd9df8f (diff)
downloadvyatta-cfg-cfa746fb0d41a70843a851561136dc003745f14f.tar.gz
vyatta-cfg-cfa746fb0d41a70843a851561136dc003745f14f.zip
fix for bug 5982.
upped max_length_buffer length from 1024 to 4096. Should leave open and reassign to mendocino so that a proper string length check can be added to the commit. (cherry picked from commit df3c80575ea539e560afc3357eb322e3e9df64bf)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/unionfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/unionfs.h b/src/common/unionfs.h
index 7881594..362972e 100644
--- a/src/common/unionfs.h
+++ b/src/common/unionfs.h
@@ -30,8 +30,8 @@
#define WHITEOUT_DISABLE_FILE ".wh..disable"
#define DELETED_NODE ".wh."
-#define MAX_LENGTH_DIR_PATH 1024
-#define MAX_LENGTH_HELP_STR 1024
+#define MAX_LENGTH_DIR_PATH 4096
+#define MAX_LENGTH_HELP_STR 4096
boolean
value_exists(char *path);