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

Merged
merged 1 commit into from Dec 21, 2015

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.

@festlv festlv 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.
7607dbb
@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
Contributor
festlv commented Dec 5, 2015

Related issue: #467

@hreintke
Contributor

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 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