diff options
| author | Ricardo Ribalda <[email protected]> | 2024-04-29 16:05:04 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2024-05-03 11:18:26 +0100 |
| commit | 1aa1329a67cc214c3b7bd2a14d1301a795760b07 (patch) | |
| tree | 298d2937d8e70d9dc82e7207909572c2ae2ddc46 /fs/btrfs/dev-replace.c | |
| parent | d77731382f57b9c18664a13c7e197285060ebf93 (diff) | |
media: dvb-frontends: tda10048: Fix integer overflow
state->xtal_hz can be up to 16M, so it can overflow a 32 bit integer
when multiplied by pll_mfactor.
Create a new 64 bit variable to hold the calculations.
Link: https://lore.kernel.org/linux-media/[email protected]
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Ricardo Ribalda <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions