Fix off by one error in ses_enc_desc_last_byte().
This commit is contained in:
parent
262b5c50db
commit
6d4c4b3fde
@ -117,7 +117,7 @@ struct ses_enc_desc {
|
||||
static inline uint8_t *
|
||||
ses_enc_desc_last_byte(struct ses_enc_desc *encdesc)
|
||||
{
|
||||
return (&encdesc->length + encdesc->length + 1);
|
||||
return (&encdesc->length + encdesc->length);
|
||||
}
|
||||
|
||||
static inline struct ses_enc_desc *
|
||||
|
Loading…
Reference in New Issue
Block a user