From bb4b9f1fc9fab0619c74f56e87515ebe75cdb8f8 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 7 Jun 2007 13:22:56 +0000 Subject: [PATCH] - add a config-time range check for IPC_SYSLOG_BUFFER_SIZE The upper-bound doesn't look like it is working since it accepts LONG_MAX as input. I suspect that this is an lxdialog feature or something like that ;) --- sysklogd/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/sysklogd/Config.in b/sysklogd/Config.in index 29c4d9b0e..78097eea1 100644 --- a/sysklogd/Config.in +++ b/sysklogd/Config.in @@ -59,6 +59,7 @@ config FEATURE_IPC_SYSLOG config FEATURE_IPC_SYSLOG_BUFFER_SIZE int " Circular buffer size in Kbytes (minimum 4KB)" default 16 + range 4 2147483647 depends on FEATURE_IPC_SYSLOG help This option sets the size of the circular buffer