cdargs icon indicating copy to clipboard operation
cdargs copied to clipboard

Uncaught Exception of Type std::out_of_range: basic_string

Open rbarbey opened this issue 3 years ago • 0 comments

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!

rbarbey avatar Jan 24 '22 08:01 rbarbey