cdargs
cdargs copied to clipboard
Uncaught Exception of Type std::out_of_range: basic_string
I wanted to add the current directory to cdargs using $PWD but mistyped it as $pwd and got this:
$ cdargs -a=$pwd
libc++abi: terminating with uncaught exception of type std::out_of_range: basic_string
Abort trap: 6
I'm unfamiliar with the source code so I can only guess that it looks like there is some input validation missing. Let me know if you need more info or if there's anything I can do to help. Thanks!