Skip to content
New issue

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

Fixes out-of-bounds access when reading from UART #468

Merged
merged 1 commit into from Dec 21, 2015

Conversation

festlv
Copy link
Contributor

@festlv festlv commented Dec 5, 2015

This bug was triggered by uart0_rx_intr_handler leaving rxBuf.pReadPos
at the last element of rxBuf and subsequent reads from rxBuf incrementing
pReadPos past the bounds of array and then comparing to array size.

This bug was triggered by uart0_rx_intr_handler leaving rxBuf.pReadPos
at the last element of rxBuf and subsequent reads from rxBuf incrementing
pReadPos past the bounds of array and then comparing to array size.
@festlv festlv changed the title Fixes out-of-bounds access when reading from UART (#467) Fixes out-of-bounds access when reading from UART Dec 5, 2015
@festlv
Copy link
Contributor Author

festlv commented Dec 5, 2015

Related issue: #467

@hreintke
Copy link
Contributor

hreintke commented Dec 21, 2015

Close & reopen to trigger travis rebuild

@hreintke hreintke closed this Dec 21, 2015
@hreintke hreintke reopened this Dec 21, 2015
@hreintke hreintke added this to the 2.1 milestone Dec 21, 2015
hreintke added a commit that referenced this pull request Dec 21, 2015
Fixes out-of-bounds access when reading from UART
@hreintke hreintke merged commit c1d5069 into SmingHub:develop Dec 21, 2015
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.

None yet

3 participants