Wireshark-commits: [Wireshark-commits] master a68518f: terminate readlink result

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 11 Jul 2015 18:18:42 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a68518f4996310792860628b5f860d0005cd4f6a
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

a68518f by Tobias Stoeckmann (tobias@xxxxxxxxxxxxxx):

    terminate readlink result
    
    The readlink function does not guarantee to nul-terminate its result string.
    Therefore, it should be done in wsutil/filesystem.c.
    
    Change-Id: Id96533e825a302a1922ce9ac7ee47d5525ac9c39
    Reviewed-on: https://code.wireshark.org/review/9597
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  e478267   Lua: fix docs and default base for ProtoField.framenum()
    adds  a68518f   terminate readlink result


Summary of changes:
 wsutil/filesystem.c |   18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)