It appears that some options in the argv list passed to find_wsrep_new_cluster() can be NULL. This is because:
1. find_wsrep_new_cluster() clears up all occurrences of --wsrep-new-cluster from the argv vector padding it with NULLs and reducing option count.
2. mysql_install_plugin() restores option count to argc_orig before calling my_load_defaults()
So we end up with modified argv vector but original argc count.
It appears that some options in the argv list passed to find_wsrep_ new_cluster( ) can be NULL. This is because: new_cluster( ) clears up all occurrences of --wsrep-new-cluster from the argv vector padding it with NULLs and reducing option count. plugin( ) restores option count to argc_orig before calling my_load_defaults()
1. find_wsrep_
2. mysql_install_
So we end up with modified argv vector but original argc count.