mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-04-19 04:22:49 +00:00
[PR #1304] [MERGED] Ignore extra padding data in the current_packet #2084
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1304
Author: @PunitLodha
Created: 3/12/2021
Status: ✅ Merged
Merged: 4/5/2021
Merged by: @cfsmp3
Base:
master← Head:708_bug_fix📝 Commits (2)
ca6c0dfIgnore extra padding data in the current_packetcd9227frefactor to avoid buffer overflow📊 Changes
1 file changed (+3 additions, -3 deletions)
View changed files
📝
src/lib_ccx/ccx_decoders_708.c(+3 -3)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Fixes issue #677
Instead of resetting the decoder, when current_length doesn't equal the len in header, change current_length to len(ignore the extra data as padding)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.