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

File.createTempFile in CmdRNTO.java may cause crash #22

Closed
airpfei opened this issue Aug 5, 2013 · 1 comment
Closed

File.createTempFile in CmdRNTO.java may cause crash #22

airpfei opened this issue Aug 5, 2013 · 1 comment

Comments

@airpfei
Copy link

airpfei commented Aug 5, 2013

The "prefix" argument in File.createTempFile must be at least 3 characters. If the "prefix" argument is less than 3 characters, File.createTempFile will throw java.lang.IllegalArgumentException.

@ppareit
Copy link
Owner

ppareit commented Aug 5, 2013

Good catch! If you know Java+git, send me a pull request. Otherwise, I'll solve this on before the next version.

ppareit added a commit that referenced this issue Aug 10, 2013
Fix bug that rename may cause crash (issue #22)
@airpfei airpfei closed this as completed Aug 12, 2013
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

2 participants