| commit | 2d7fbf2c4919f20fca79ca8d2b37fc15032d7b7f | [log] [tgz] |
|---|---|---|
| author | Hyunwoo Kim <[email protected]> | Mon Jun 20 14:17:46 2022 |
| committer | Dinh Nguyen <[email protected]> | Thu Sep 15 17:04:25 2022 |
| tree | cadb5e47f215971d52766b75c5a21f3f08d89fea | |
| parent | a99a301ab6793662dd6c5dcec561973a54a90f36 [diff] |
video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write [upstream commit a09d2d00af53b43c6f11e6ab3cb58443c2cac8a7] In pxa3xx_gcu_write, a count parameter of type size_t is passed to words of type int. Then, copy_from_user() may cause a heap overflow because it is used as the third argument of copy_from_user(). Signed-off-by: Hyunwoo Kim <[email protected]> Signed-off-by: Helge Deller <[email protected]>