Chromium Code Reviews
DescriptionFix use of arraysize in GamepadProvider
Arraysize was being used for destination array sizes in memcpy and
memcmp, which returns the number of elements rather than the number of
bytes, as these functions expect. The result is that the entire arrays
were not getting copied.
BUG=469151
Committed: https://crrev.com/da87e71938a3aa652dd4a494ba0c22e28a67c948
Cr-Commit-Position: refs/heads/master@{#321587}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Changed to simpler sizeof() #Messages
Total messages: 16 (7 generated)
|