Re: [Wireshark-dev] dissect_per_constrained_integer() with no_bound (MAX in ASN.1)

2016-12-21 Thread Pascal Quantin
Hi Pavel, 2016-12-21 15:37 GMT+01:00 Pavel Strnad : > Hello, > > I am trying to understand the difference in usage of NO_BOUND or UINT_MAX > in the place of max parameter in dissect_per_constrained_integer() > function. In my case aligned PER variant. > > > > From packet-per.h: > > #define NO_BOU

[Wireshark-dev] dissect_per_constrained_integer() with no_bound (MAX in ASN.1)

2016-12-21 Thread Pavel Strnad
Hello, I am trying to understand the difference in usage of NO_BOUND or UINT_MAX in the place of max parameter in dissect_per_constrained_integer() function. In my case aligned PER variant. >From packet-per.h: #define NO_BOUND -1 guint32 dissect_per_constrained_integer(tvbuff_t *tvb, guint3