Hi,
there is a bug in i2psnark:
Storage.createFileFromNames
around line 927
wrong:
private File createFileFromNames(File base, final List<String> names, final boolean areFilesPublic) throws IOException {
File f = null;
final var it = names.iterator();
-> if (it.hasNext()) {
final var name = optFilterName(it.next());
if (it.hasNext()) {
correct:
private File createFileFromNames(File base, final List<String> names, final boolean areFilesPublic) throws IOException {
File f = null;
final var it = names.iterator();
-> WHILE (it.hasNext()) {
final var name = optFilterName(it.next());
if (it.hasNext()) {
When there are subdirs, checking of torrents will loop endlessly.
- Board index I2P Router I2PSnark
- Search
-
- It is currently 24 Nov 2025 01:02
- All times are UTC
bug in Storage
Issues and ideas about I2PSnark
Jump to
- Announcements
- ↳ Blogentries
- ↳ Releases
- Guides
- I2P Router
- ↳ Router
- ↳ Susimail
- ↳ Addressbook
- ↳ I2PSnark
- ↳ Android
- ↳ i2pd
- ↳ i2p+
- Development
- ↳ Proposals
- ↳ I2P Laboratory
- 3rdParty
- ↳ I2P-Bote
- ↳ Plugins
- ↳ Syndie
- ↳ iMule
- ↳ Tahoe-LAFS
- ↳ MuWire
- ↳ BrowserBundle
- General
- ↳ Meetings
- ↳ Talks & Events
- ↳ Misc
- ↳ Hidden Service Announcements
- International
- ↳ Русский
- ↳ Deutsch
- ↳ Espanol
- ↳ العربية
- ↳ فارسی
- ↳ 中文论坛
- Forum Issues