From Martin Mathieson:
Fix Bug 976 Looking at frame 170 in the trace, it looks like tvb_get_ephemeral_text() struggles with the null character in the middle of the 4th parameter (in the WWW-Authenticate header) and returns NULL. The attached patch uses tvb_format_text() instead which also does a better job of showing the string. svn path=/trunk/; revision=18589
This commit is contained in:
parent
40cbc01b87
commit
0bf4780bf2
1 changed files with 2 additions and 2 deletions
|
@ -1087,8 +1087,8 @@ dissect_sip_authorization_item(tvbuff_t *tvb, proto_tree *tree, gint start_offse
|
|||
if (i == array_length(auth_parameters_hf_array))
|
||||
{
|
||||
proto_tree_add_text(tree, tvb, start_offset, current_offset-start_offset,
|
||||
tvb_get_ephemeral_string(tvb, start_offset,
|
||||
current_offset-start_offset));
|
||||
tvb_format_text(tvb, start_offset,
|
||||
current_offset-start_offset));
|
||||
}
|
||||
|
||||
return current_offset;
|
||||
|
|
Loading…
Reference in a new issue