Skip to content

Fix stack-buffer-overflow sanitizer issue in AUIPC_JALR_TO_XQCI.test#946

Open
parth-07 wants to merge 1 commit intoqualcomm:mainfrom
parth-07:XQCJSanCherryPick
Open

Fix stack-buffer-overflow sanitizer issue in AUIPC_JALR_TO_XQCI.test#946
parth-07 wants to merge 1 commit intoqualcomm:mainfrom
parth-07:XQCJSanCherryPick

Conversation

@parth-07
Copy link
Contributor

This commit fixes stack-buffer-overflow sanitizer issue in AUIPIC_JALR_TO_XQCI.test. The root cause was that the QC_E_J relaxation patch 6 bytes instruction but the 'Instr' parameter of 'RegionFragmentEx::replaceInstruction' that stores the updated instruction is only of 4 bytes.

This commit fixes stack-buffer-overflow sanitizer issue in
AUIPIC_JALR_TO_XQCI.test. The root cause was that the QC_E_J relaxation
patch 6 bytes instruction but the 'Instr' parameter of
'RegionFragmentEx::replaceInstruction' that stores the updated
instruction is only of 4 bytes.

Signed-off-by: Parth Arora <partaror@qti.qualcomm.com>
@partaror partaror force-pushed the XQCJSanCherryPick branch from 914dfa2 to 4522b02 Compare March 18, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant