Another extra pointer check.
This commit is contained in:
parent
3e041e6116
commit
b405a21dd1
@ -846,7 +846,7 @@ int cxrinta (cx_chan_t *c)
|
||||
}
|
||||
|
||||
/* Discard exception characters. */
|
||||
if ((risr & RISA_SCMASK) && (tp->t_iflag & IXON))
|
||||
if ((risr & RISA_SCMASK) && tp && (tp->t_iflag & IXON))
|
||||
reoir |= REOI_DISCEXC;
|
||||
|
||||
/* Handle received data. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user