Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.6.24
-
None
-
Can result in hang or crash
Description
The definition for the --system command line option's type library is missing a terminating NullS. This, on some platforms (a M series MacOSX in my case) is causing a SIGSEGV when this option is specified to the command line.
This is the code:
static const char *opt_system_type_values[]= |
{"all", "users", "plugins", "udfs", "servers", "stats", "timezones"}; |
static TYPELIB opt_system_types= |
{
|
array_elements(opt_system_type_values), "system dump options", |
opt_system_type_values, NULL
|
};
|