Wireshark-commits: [Wireshark-commits] master baa22b3: http: make a copy of the username.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 03 Jul 2019 08:21:16 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=baa22b38290ac6316a50be8fa94b3296056e7b19
Submitter: "Pascal Quantin <pascal@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

baa22b3 by Dario Lombardo (lomato@xxxxxxxxx):

    http: make a copy of the username.
    
    The commit 0c5b14395e1f5df3a52d085f73839c8e74e921fc fixed a leak
    but introduced a regression since the username gets freed while it's
    still needed. We need to make a copy here.
    
    Change-Id: Id45c1b8f98c9649a0ead30ec6cacdd6c44b923bd
    Reviewed-on: https://code.wireshark.org/review/33821
    Petri-Dish: Dario Lombardo <lomato@xxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    

Actions performed:

    from  6e17af1   http: remove unneeded allocation.
     add  baa22b3   http: make a copy of the username.


Summary of changes:
 epan/dissectors/packet-http.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)