]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #36938 - tmiasko:cursor-seek-overflow, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 4 Oct 2016 09:54:04 +0000 (15:24 +0530)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2016 09:54:04 +0000 (15:24 +0530)
Check for overflow in Cursor<Vec<u8>>::write.

Ensure that cursor position fits into usize, before proceeding with
write. Fixes issue #36884.


Trivial merge