Archived
This forum has been archived. Please start a new discussion on GitHub.
icegridadmin "service list" crash
in Bug Reports
Hi!
icegridadmin command "service list ID" crashes the program.
In IceGrid/parser.cpp, function void Parser::listServices(), it is first ensured that list consisting of one argument is passed, and then list's second element is accessed (line 1549):
if(args.size() != 1)
// report and return;
string service = *(++args.begin());
although the variable is not used anywhere later.
icegridadmin command "service list ID" crashes the program.
In IceGrid/parser.cpp, function void Parser::listServices(), it is first ensured that list consisting of one argument is passed, and then list's second element is accessed (line 1549):
if(args.size() != 1)
// report and return;
string service = *(++args.begin());
although the variable is not used anywhere later.
0
Comments
-
Hi,
Thanks for the bug report! This will be fixed for the next release.
Cheers,
Benoit.0