[PATCH] libosmocore[master]: Add function to properly encode RAI

2018-01-07 Thread Max
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/5652 to look at the new patch set (#4). Add function to properly encode RAI Add gsm48_encode_ra() which takes appropriate struct as [out] parameter instead of generic buffer. Using uint8_t

[PATCH] libosmocore[master]: Add function to properly encode RAI

2018-01-05 Thread Max
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/5652 to look at the new patch set (#3). Add function to properly encode RAI Add gsm48_encode_ra() which takes appropriate struct as [out] parameter instead of generic buffer. Using uint8_t

[PATCH] libosmocore[master]: Add function to properly encode RAI

2018-01-05 Thread Max
Hello Jenkins Builder, I'd like you to reexamine a change. Please visit https://gerrit.osmocom.org/5652 to look at the new patch set (#2). Add function to properly encode RAI Add gsm48_make_ra() which takes appropriate struct as [out] parameter instead of generic buffer. Using uint8_t

[PATCH] libosmocore[master]: Add function to properly encode RAI

2018-01-05 Thread Max
Review at https://gerrit.osmocom.org/5652 Add function to properly encode RAI Add gsm48_make_ra() which takes appropriate struct as [out] parameter instead of generic buffer. Using uint8_t buffer instead of proper struct type prooved to be error-prone - see Coverity CID57877, CID57876. Old