Another extra pointer check.

This commit is contained in:
Eivind Eklund 1998-12-13 22:29:32 +00:00
parent 3e041e6116
commit b405a21dd1
1 changed files with 1 additions and 1 deletions

View File

@ -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. */