Skip to content

Commit

Permalink
Updated debug logging output in per_get_few_bits, because in some cas…
Browse files Browse the repository at this point in the history
…es this caused a segment fault in the framework, due to a malformed message.
  • Loading branch information
devjoa committed Dec 17, 2015
1 parent 6b949bb commit 878c8b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeletons/per_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ per_get_few_bits(asn_per_data_t *pd, int nbits) {
(int)pd->moved,
(((long)pd->buffer) & 0xf),
(int)pd->nboff, (int)pd->nbits,
pd->buffer[0],
((pd->buffer != NULL)?pd->buffer[0]:0),
(int)(pd->nbits - pd->nboff),
(int)accum);

Expand Down

0 comments on commit 878c8b7

Please sign in to comment.