Wireshark-commits: [Wireshark-commits] master 59f4c1c: RPC: fix crash when calling NLMv4 SRT statis

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 30 Oct 2015 15:40:55 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=59f4c1cd04275cd7306156ed22dc67092b93a024
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

59f4c1c by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    RPC: fix crash when calling NLMv4 SRT statistics
    
    packet scope is not valid when called from GUI.
    To keep API constant, introduce a rpc_proc_name_internal() function allowing to
    define the memory scope used for string allocation.
    
    Bug: 11654
    Change-Id: Iff36c090650939c9f2bebfd9c3fd25c51fd97dc0
    Reviewed-on: https://code.wireshark.org/review/11425
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  a15f832   packet-smb2: Add dissector for SMB2_FSCTL_OFFLOAD_READ
    adds  59f4c1c   RPC: fix crash when calling NLMv4 SRT statistics


Summary of changes:
 epan/dissectors/packet-rpc.c |   22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)