Hi,
I can't really decide on 6 warnings similar. Take a look at one of them :
guchar * octets;
const char * ename;
...
ename = showoctets(octets, len, (tag == BER_UNI_TAG_OCTETSTRING) ? 4 : 0);
...
proto_tree_add_string_format(pt, props.value_id, tvb, boffset,
offset -
boffset, octets, /* \0 termnated */
textfmt_s,
boffset, clsstr, constr, tagstr,
tname, name,
ename, matchind);
The 6th parameters (octets) of proto_tree_add_string_format is the
guchar array we have converted with showoctets. Is it correct?
Don't we have to put it to strlen(octets)? (it appears that octets has
to be NULL-teminated).
Regards,
Sebastien Tandel