Closed GoogleCodeExporter closed 9 years ago
I believe this fixes the crash:
Index: src/storage.cpp
===================================================================
--- src/storage.cpp (revision 9683)
+++ src/storage.cpp (working copy)
@@ -1223,7 +1223,7 @@
// if the file has priority 0, don't allocate it
int file_index = files().file_index(*file_iter);
if (m_allocate_files && (op.mode & file::rw_mask) != file::read_only
- && (m_file_priority.size() < file_index ||
m_file_priority[file_index] > 0))
+ && (m_file_priority.size() <= file_index ||
m_file_priority[file_index] > 0))
{
TORRENT_ASSERT(m_file_created.size() == files().num_files());
if (m_file_created[file_index] == false)
Original comment by arvid.no...@gmail.com
on 7 Feb 2014 at 6:37
thanks for the report. fixed in RC_0_16. Please let me know if you still
experience a crash.
Original comment by arvid.no...@gmail.com
on 7 Feb 2014 at 8:54
Yes it works. Thanks.
Original comment by hammered...@gmail.com
on 7 Feb 2014 at 11:33
Original issue reported on code.google.com by
hammered...@gmail.com
on 6 Feb 2014 at 10:25