Wireshark-commits: [Wireshark-commits] master-2.6 7675c2f: Don't use on-the-stack buffers for pinfo
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 08 Sep 2018 19:48:05 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=7675c2fea176c5f3d9eea33cc5b578cc973c7a56
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

7675c2f by Guy Harris (guy@xxxxxxxxxxxx):

    Don't use on-the-stack buffers for pinfo addresses.
    
    pinfo addresses are supposed to be valid after the routine that sets
    them exits; therefore, the data mustn't be on the stack.
    
    Change-Id: I7db48065b2cacad200fa6b18e19b68e130e535a5
    Reviewed-on: https://code.wireshark.org/review/29492
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 30cc32e379ad2edf04cb5fd659e3b9246cdc5464)
    Reviewed-on: https://code.wireshark.org/review/29493
    

Actions performed:

    from  6deb4c9   Add make-manuf.py to dist.
     add  7675c2f   Don't use on-the-stack buffers for pinfo addresses.


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