-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index out of range while trying to run with envvar #1
Comments
Thanks for reporting, will look into this today. Looks like it may be an issue with my variable parser. |
@JaikrishnaTS So far I have been unable to reproduce. Did you first run |
Hello @hazbo I wanted to make sure I followed the installation instructions exactly from the repo and so I deleted my sources, builds, ~.httpu and rebuilt on commit f063213 I ran |
@JaikrishnaTS thank you for providing me with these details! Will look into this and get back to you. |
Hey, @JaikrishnaTS |
@AdvancedHacker101 I checked and it looks like the issue is still present. While this program doesn't produce error on the online interpreter nor on yours, the go compiler on my machine is probably causing it. (same result on the |
But then it would still panic at the switch statement, but it panics at the for loop. |
When I tried to set the environment variable
NAME
tofoo
and ran httpu, I noticed a index out of range panic.It seems to me that whenever the length of
NAME
is lesser than the length of$env{[NAME]}
, this issue happens.Here's the stack trace
The text was updated successfully, but these errors were encountered: