-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
svcenc: Integer overflow in irc_ba_get_cur_frm_est_texture_bits
'ISVCE_CMD_CTL_SET_DIMENSIONS' is expected to occur before 'ISVCE_CMD_CTL_SET_FRAMERATE'. This is necesssary since 'isvce_rc_init' initialises the frame_time_t struct used by 'ih264e_frame_time_update_src_frame_rate'. This state was not being handled correctly, and consequently, many of the computations in RC were using incorrectly initialised values for frame rate. This was resulting in signed integer overflow of 'i4_est_texture_bits_for_frm'. Bug = ossfuzz:63175 Test: svc_enc_fuzzer
- Loading branch information
1 parent
196f0db
commit a97b0cc
Showing
3 changed files
with
52 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters