MQ: fix crash at startup
the array given to qsort algorithm must be alterable Change-Id: I811cade161b7635e9bc9e070c1ec37d2cce50d1f Reviewed-on: https://code.wireshark.org/review/6420 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
c94192d5e6
commit
d8773b158a
|
@ -1399,7 +1399,7 @@ DEF_VALSB(notifcode)
|
|||
DEF_VALS2(NC_CLIENT_ASYNC_EMPTY, "CLIENT_ASYNC_EMPTY"),
|
||||
DEF_VALSE;
|
||||
|
||||
DEF_VALSB(opcode)
|
||||
DEF_VALSBX(opcode)
|
||||
DEF_VALS2(TST_INITIAL , "INITIAL_DATA"),
|
||||
DEF_VALS2(TST_RESYNC , "RESYNC_DATA"),
|
||||
DEF_VALS2(TST_RESET , "RESET_DATA"),
|
||||
|
@ -1481,7 +1481,7 @@ DEF_VALSB(spi_activate)
|
|||
DEF_VALS2(SPI_ACTIVATE_DISABLE, "DISABLE"),
|
||||
DEF_VALSE;
|
||||
|
||||
DEF_VALSB(status)
|
||||
DEF_VALSBX(status)
|
||||
DEF_VALS2(STATUS_ERR_NO_CHANNEL , "NO_CHANNEL"),
|
||||
DEF_VALS2(STATUS_ERR_CHANNEL_WRONG_TYPE , "CHANNEL_WRONG_TYPE"),
|
||||
DEF_VALS2(STATUS_ERR_QM_UNAVAILABLE , "QM_UNAVAILABLE"),
|
||||
|
@ -1545,7 +1545,7 @@ DEF_VALSB(xaer)
|
|||
DEF_VALS2(XAER_OUTSIDE , "XAER_OUTSIDE"),
|
||||
DEF_VALSE;
|
||||
|
||||
DEF_VALSB(StructID)
|
||||
DEF_VALSBX(StructID)
|
||||
DEF_VALS2(STRUCTID_CAUT , MQ_TEXT_CAUT),
|
||||
DEF_VALS2(STRUCTID_CIH , MQ_TEXT_CIH),
|
||||
DEF_VALS2(STRUCTID_DH , MQ_TEXT_DH),
|
||||
|
|
Loading…
Reference in New Issue