1.fix segment fault triggered by unsupported command operations 2.fix incorrect use of securec function parameters 3.remove redundant cmd option 'V' (cherry picked from commit 2cd5bf00392d5569b1b1c719118db256dbf01a07)