We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sc_util/module_xfifo/src/xfifo.c
Line 6 in c06706f
This can cause an overflow if the size of the buffer is [FIFO_OVERHEAD + FIFO_SIZE] as per the app_xfifo_example.
[FIFO_OVERHEAD + FIFO_SIZE]
app_xfifo_example
In order to prevent that, the above line should read fifo[LEN_INDEX] = n+FIFO_START;
fifo[LEN_INDEX] = n+FIFO_START;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
sc_util/module_xfifo/src/xfifo.c
Line 6 in c06706f
This can cause an overflow if the size of the buffer is
[FIFO_OVERHEAD + FIFO_SIZE]
as per theapp_xfifo_example
.In order to prevent that, the above line should read
fifo[LEN_INDEX] = n+FIFO_START;
The text was updated successfully, but these errors were encountered: