Closed nsg closed 8 years ago
auto maxIter = chunks.begin() + max;
https://github.com/konstructs/client/blob/master/src/client.cpp#L165
This line causes a problem under OS X. This crashed the client when we received the first chunks. I assume we got less than 10 chunks and chunks.begin() + max pointed outside chunks allocated memory.
chunks.begin() + max
Thank you @nflx for the help testing and debugging this.
This bug is possibly fixed by #161, but I can not test it since I lack an OSX compatible device. Help with testing this would be highly appreciated!
https://github.com/konstructs/client/blob/master/src/client.cpp#L165
This line causes a problem under OS X. This crashed the client when we received the first chunks. I assume we got less than 10 chunks and
chunks.begin() + max
pointed outside chunks allocated memory.