Commit dec3e2e8 authored by Committed by João Valverde
randpkt_core: Use g_random_* for randpkt_parse_type().
randpkt_parse_type() can (and most likely will) be called before randpkt_example_init(), therefore g_rand_int_range is called with a NULL GRand argument. This produces non-random output. Change-Id: Id420edc15a5f9dec427c5f1a1dd9a1f18a225319 Reviewed-on: https://code.wireshark.org/review/16367Reviewed-by: João Valverde <firstname.lastname@example.org>
Showing with 1 addition and 1 deletion