projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c18c5ff
)
V4L/DVB (9043): S5H1420: Fix size of shadow-array to avoid overflow
author
Patrick Boettcher
<pb@linuxtv.org>
Sun, 7 Sep 2008 19:04:38 +0000
(16:04 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Sun, 5 Oct 2008 02:01:21 +0000
(23:01 -0300)
The array size of 'shadow' still needs to be fixed in order to not overflow when reading register 0x00.
Thanks to Oliver Endriss for pointing that out.
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/s5h1420.c
patch
|
blob
|
history
diff --git
a/drivers/media/dvb/frontends/s5h1420.c
b/drivers/media/dvb/frontends/s5h1420.c
index 7d6cb39da1d99c229d607a919d88d6282d39c31c..2e9fd2893ede8e573fd8d56adb92e59055f75636 100644
(file)
--- a/
drivers/media/dvb/frontends/s5h1420.c
+++ b/
drivers/media/dvb/frontends/s5h1420.c
@@
-59,7
+59,7
@@
struct s5h1420_state {
* it does not support repeated-start, workaround: write addr-1
* and then read
*/
- u8 shadow[25
5
];
+ u8 shadow[25
6
];
};
static u32 s5h1420_getsymbolrate(struct s5h1420_state* state);