comparison cmd.c @ 33:fa93d2ff9c62

Prevent potential division by zero Add safeguard ensuring that there is at least one possible character to generate passwords from in order to exclude the possibility of a division by zero error in rand_uniform.
author Guido Berhoerster <guido+pwm@berhoerster.name>
date Tue, 30 Jul 2019 20:38:08 +0200
parents b5ebed168e59
children e027dd4409c7
comparison
equal deleted inserted replaced
32:b5ebed168e59 33:fa93d2ff9c62