Wireshark-commits: [Wireshark-commits] master 4d3df66: Give FvalueToStringRepr a length parameter.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 10 May 2016 22:50:18 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4d3df66af44b563a1c6d6fe03fcdf09f93877dba
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

4d3df66 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Give FvalueToStringRepr a length parameter.
    
    This allows the conversion of a few straggler strcpy calls
    in ftype library. Also provides a more accurate size value
    instead of the many hard coded values the ftypes were using.
    
    Change-Id: Ia6273980432e16ad3a6233816a6054d9fed5d2a4
    Reviewed-on: https://code.wireshark.org/review/15344
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  1dccd1e   Have fvalue_to_string_repr always return an (wmem) allocated buffer.
    adds  4d3df66   Give FvalueToStringRepr a length parameter.


Summary of changes:
 epan/ftypes/ftype-bytes.c            |   10 +++++-----
 epan/ftypes/ftype-double.c           |    8 ++++----
 epan/ftypes/ftype-guid.c             |   10 +++++-----
 epan/ftypes/ftype-ieee-11073-float.c |   28 ++++++++++++++--------------
 epan/ftypes/ftype-integer.c          |   28 ++++++++++++++--------------
 epan/ftypes/ftype-ipv4.c             |    2 +-
 epan/ftypes/ftype-ipv6.c             |    2 +-
 epan/ftypes/ftype-pcre.c             |    4 ++--
 epan/ftypes/ftype-protocol.c         |    2 +-
 epan/ftypes/ftype-string.c           |    4 ++--
 epan/ftypes/ftype-time.c             |    8 ++++----
 epan/ftypes/ftypes-int.h             |    2 +-
 epan/ftypes/ftypes.c                 |    2 +-
 13 files changed, 55 insertions(+), 55 deletions(-)