Menu

#12 Bug in Generator.java

v1.0 (example)
open
nobody
None
5
2015-02-02
2015-02-02
Peter
No

You will get an indexoutofrange error if the filesize is (n*blocksize) -1

Fix:

Generator.java

.....
sums.add(pair);
len -= n;
offset += n;
.......

n must be replaced by l !!
....
len -= l;
offset += l;
.....

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.