diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-19 09:43:01 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-20 11:49:39 +0100 |
commit | a4661fb228a5cfee262410c38c12afa610f0942f (patch) | |
tree | e1a9a05228ff1414b360872062694b0cbb503b1a /src/isup.c | |
parent | b4dd0296323db430bd517d0527a7efbf840fc9c0 (diff) |
isup: Fix the lebgth check in this packet
Diffstat (limited to 'src/isup.c')
-rw-r--r-- | src/isup.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -67,7 +67,7 @@ int isup_parse_grs(const uint8_t *data, uint8_t in_length) uint8_t ptr; uint8_t length; - if (in_length > 3) { + if (in_length < 3) { LOGP(DISUP, LOGL_ERROR, "This needs three bytes.\n"); return -1; } |