Off by one error in name length.

svn path=/trunk/; revision=48234
This commit is contained in:
Anders Broman 2013-03-10 18:32:59 +00:00
parent 85f98b5cfc
commit 812efccdae
1 changed files with 1 additions and 1 deletions

View File

@ -1603,7 +1603,7 @@ dissect_sip_authorization_item(tvbuff_t *tvb, proto_tree *tree, gint start_offse
par_name_end_offset = tvb_skip_wsp_return(tvb,par_name_end_offset);
/* Extract the parameter name */
name = tvb_get_ephemeral_string(tvb, start_offset, par_name_end_offset-start_offset+1);
name = tvb_get_ephemeral_string(tvb, start_offset, par_name_end_offset-start_offset);
/* Find end of parameter, it can be a quoted string so check for quoutes too */
queried_offset = par_name_end_offset;