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

Projects
None yet
3 participants
@festlv
Contributor

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.

Fixes out-of-bounds access when reading from UART.
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 from Fixes out-of-bounds access when reading from UART (#467) to Fixes out-of-bounds access when reading from UART Dec 5, 2015

@festlv

This comment has been minimized.

Show comment
Hide comment
@festlv

festlv Dec 5, 2015

Contributor

Related issue: #467

Contributor

festlv commented Dec 5, 2015

Related issue: #467

@hreintke

This comment has been minimized.

Show comment
Hide comment
@hreintke

hreintke Dec 21, 2015

Contributor

Close & reopen to trigger travis rebuild

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

Merge pull request #468 from festlv/issue-467
Fixes out-of-bounds access when reading from UART

@hreintke hreintke merged commit c1d5069 into SmingHub:develop Dec 21, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@raburton raburton added the n/a to rtos label Jan 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment