Wireshark-commits: [Wireshark-commits] master-2.6 51cad5c: Do error checking for the console log le
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=51cad5cb825b5f8925bd3af1c086c8ec5df97715
Submitter: "Guy Harris <guy@xxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark
Commits:
51cad5c by Guy Harris (guy@xxxxxxxxxxxx):
Do error checking for the console log level.
Use ws_strtou32(), and do the same error checking for it that's done for
other numerical preferences.
Change-Id: Id8158129e626fa39bf221c27a8b0fc1ebf992f31
Reviewed-on: https://code.wireshark.org/review/30274
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
(cherry picked from commit 0d4a4bdc892be95a65a37a2a069fdc4f769626ca)
Reviewed-on: https://code.wireshark.org/review/30275
Actions performed:
from 800e4d0 Make uat_fld_chk_num_hex() more like other uat_fld_chk_num routines.
add 51cad5c Do error checking for the console log level.
Summary of changes:
epan/prefs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)