Wireshark-commits: [Wireshark-commits] master-2.0 03d92f2: RPC: fix crash when calling NLMv4 SRT st
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=03d92f206f55bf724c91c0471986b0a2a43f967b
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
03d92f2 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>
(cherry picked from commit 59f4c1cd04275cd7306156ed22dc67092b93a024)
Reviewed-on: https://code.wireshark.org/review/11435
Actions performed:
from ea9b045 [OpenFlow] Use correct name for flag OFPMPF_REPLY_MORE.
adds 03d92f2 RPC: fix crash when calling NLMv4 SRT statistics
Summary of changes:
epan/dissectors/packet-rpc.c | 22 ++++++++++++++++------
1 file changed, 16 insertions(+), 6 deletions(-)