Wireshark-dev: Re: [Wireshark-dev] ASN1 warning question

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Fri, 23 Mar 2007 15:04:48 -0700
On Fri, Mar 23, 2007 at 10:04:52PM +0100, Sebastien Tandel wrote:

> I can't really decide on 6 warnings similar. Take a look at one of 
> them :

> 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).

The only problem seems to be that it is a guchar and 
the 6th argument to proto_tree_add_string_format() expects a char.  
Which parameter do you mean putting strlen(octets) in?


Steve