Archived

This forum has been archived. Please start a new discussion on GitHub.

Ice::Application use of argv[0] without checking argc > 0

Very minor issue in Ice::Application (Ice 3.3.0 cpp): Application::main() assumes argc > 0. Only stumbled across this by being lazy and not passing the exe name as the first argument in execve in a project that is configured entirely with environment variables.

Regards

Stuart

Comments

  • Thanks for the bug report. We'll fix this for the next release.

    Cheers,

    Michi.