Skip to content

Conversation

@fbeutin-ledger
Copy link
Contributor

No description provided.


// Global like variable, placed in stack to avoid BSS corruption by the library application
swap_app_context_t swap_ctx;
G_swap_ctx = &swap_ctx;

Check warning

Code scanning / CodeQL

Local variable address stored in non-local memory Warning

A stack address (
source
) may be assigned to a non-local variable.
#ifdef HAVE_NBGL
memcpy(&G_previous_cycle_data, &tmp_previous_cycle_data, sizeof(G_previous_cycle_data));
#endif
G_swap_ctx = &swap_ctx;

Check warning

Code scanning / CodeQL

Local variable address stored in non-local memory Warning

A stack address (
source
) may be assigned to a non-local variable.
@fbeutin-ledger fbeutin-ledger force-pushed the fbe/swap_spl_token branch 2 times, most recently from bafbd0f to 291dba8 Compare January 10, 2025 14:22
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