Overflow in /script/dom/characterdata.rs::ReplaceData #6040

Closed
jgraham opened this Issue May 13, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@jgraham
Contributor

jgraham commented May 13, 2015

(pid:25369) "thread 'ScriptTask' panicked at 'arithmetic operation overflowed',
/home/jgraham/develop/servo/components/script/dom/characterdata.rs:107"

The offending code:

let count = if offset + count > length {
@aneeshusa

This comment has been minimized.

Show comment
Hide comment
@aneeshusa

aneeshusa May 19, 2015

Member

Looks like this got fixed in #6064.

Member

aneeshusa commented May 19, 2015

Looks like this got fixed in #6064.

@jdm

This comment has been minimized.

Show comment
Hide comment
@jdm

jdm May 19, 2015

Member

Yep!

Member

jdm commented May 19, 2015

Yep!

@jdm jdm closed this May 19, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment