commit | 8ac9625d6b6130690abc268e258c4ee0cc9361ed | [log] [tgz] |
---|---|---|
author | jiayl@webrtc.org <jiayl@webrtc.org> | Tue Jul 15 20:32:03 2014 +0000 |
committer | jiayl@webrtc.org <jiayl@webrtc.org> | Tue Jul 15 20:32:03 2014 +0000 |
tree | e92e3bab45ed584e5336fdccf681bd556f4157eb | |
parent | a4d6a2853f4019098cef2b02af99dd4f27a30d10 [diff] |
Fix an invalid memory access due to typo in win/cursor.cc. BUG=crbug/391468 R=sergeyu@chromium.org Review URL: https://webrtc-codereview.appspot.com/19949004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6698 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/modules/desktop_capture/win/cursor.cc b/modules/desktop_capture/win/cursor.cc index 00055c4..e3c272c 100644 --- a/modules/desktop_capture/win/cursor.cc +++ b/modules/desktop_capture/win/cursor.cc
@@ -197,7 +197,7 @@ // The XOR mask becomes the color bitmap. memcpy( - image->data(), mask_plane + (width * height), image->stride() * width); + image->data(), mask_plane + (width * height), image->stride() * height); } // Reconstruct transparency from the mask if the color image does not has