Skip to content

[platform][zynq] Check for CFI buffer allocation failure#504

Merged
travisg merged 3 commits into
littlekernel:masterfrom
bl4ckhyun:zynq_mem_bug
Apr 14, 2026
Merged

[platform][zynq] Check for CFI buffer allocation failure#504
travisg merged 3 commits into
littlekernel:masterfrom
bl4ckhyun:zynq_mem_bug

Conversation

@bl4ckhyun
Copy link
Copy Markdown
Contributor

Check the CFI buffer allocation result in spiflash_detect() before using it.

Return ERR_NO_MEMORY when the temporary buffer cannot be allocated.

@travisg
Copy link
Copy Markdown
Member

travisg commented Apr 14, 2026

good catches, LGTM.

@travisg travisg merged commit 6048c0c into littlekernel:master Apr 14, 2026
120 checks passed
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.

2 participants