Wireshark-commits: [Wireshark-commits] master 8dd322b: Don't use on-the-stack buffers for pinfo add

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 08 Sep 2018 19:47:52 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8dd322ba98b15a8dd967d7714bbedf28c4a8edce
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

8dd322b 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>
    

Actions performed:

    from  64335ba   Initialize epl_placeholder_mac at compile time.
     add  8dd322b   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(-)