Bug 66109

Summary: VectorArgumentCoder doesn't encode/decode enough data for more than one byte vector elements
Product: WebKit Reporter: Viatcheslav Ostapenko <ostap73>
Component: WebKit2Assignee: Viatcheslav Ostapenko <ostap73>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Give vector data byte size insitead of number of elements to fixed length data encoder/decoder. none

Viatcheslav Ostapenko
Reported 2011-08-11 15:45:54 PDT
VectorArgumentCoder calls encodeFixedLengthData and decodeFixedLengthData with "size" bytes to encode/decode . It should encode/decode "size * sizeof(T)" bytes.
Attachments
Give vector data byte size insitead of number of elements to fixed length data encoder/decoder. (1.87 KB, patch)
2011-08-11 17:36 PDT, Viatcheslav Ostapenko
no flags
Viatcheslav Ostapenko
Comment 1 2011-08-11 17:36:45 PDT
Created attachment 103712 [details] Give vector data byte size insitead of number of elements to fixed length data encoder/decoder.
Anders Carlsson
Comment 2 2011-08-11 20:00:25 PDT
Comment on attachment 103712 [details] Give vector data byte size insitead of number of elements to fixed length data encoder/decoder. Good catch.
WebKit Review Bot
Comment 3 2011-08-11 21:17:07 PDT
Comment on attachment 103712 [details] Give vector data byte size insitead of number of elements to fixed length data encoder/decoder. Clearing flags on attachment: 103712 Committed r92914: <http://trac.webkit.org/changeset/92914>
WebKit Review Bot
Comment 4 2011-08-11 21:17:11 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.