added some extra checks for buffer overrun in disk_io_thread
This commit is contained in:
@@ -111,6 +111,10 @@ namespace libtorrent
|
||||
// memory pool for read and write operations
|
||||
boost::pool<> m_pool;
|
||||
|
||||
#ifndef NDEBUG
|
||||
int m_block_size;
|
||||
#endif
|
||||
|
||||
// thread for performing blocking disk io operations
|
||||
boost::thread m_disk_io_thread;
|
||||
};
|
||||
|
Reference in New Issue
Block a user