Bug 66109 - VectorArgumentCoder doesn't encode/decode enough data for more than one byte vector elements
Summary: VectorArgumentCoder doesn't encode/decode enough data for more than one byte ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Viatcheslav Ostapenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-11 15:45 PDT by Viatcheslav Ostapenko
Modified: 2011-08-11 21:17 PDT (History)
2 users (show)

See Also:


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 Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Viatcheslav Ostapenko 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.
Comment 1 Viatcheslav Ostapenko 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.
Comment 2 Anders Carlsson 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.
Comment 3 WebKit Review Bot 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>
Comment 4 WebKit Review Bot 2011-08-11 21:17:11 PDT
All reviewed patches have been landed.  Closing bug.