Skip to content
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

UnixPasswdParser dies on empty fields in passwd file #3

Closed
jezhumble opened this issue Aug 30, 2010 · 1 comment
Closed

UnixPasswdParser dies on empty fields in passwd file #3

jezhumble opened this issue Aug 30, 2010 · 1 comment

Comments

@jezhumble
Copy link
Owner

I downloaded the JavaSysMon library a few days ago. It’s great and seems to be just what I need. However, today I noticed a bug in the parse-method of class UnixPasswdParser.
There is the line “+::::::” in my /etc/passwd file (which is totally normal in Linux) which results in an ArrayIndexOutOfBoundsException when you try to access fields[2].
Maybe this can be fixed in the next release.

Markus Ewert

@jezhumble
Copy link
Owner Author

Fixed in 0.3.3

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant