4 ms·
"Because the protocol uses random strings, the probability of hitting this bug is about 1/256." Why 1/256?
by dawkins 14y ago
"Because the protocol uses random strings, the probability of
hitting this bug is about 1/256."
Why 1/256?
- jontro 14y agoBecause when the return value is truncated to a char, the last two bytes in the int would have to be 0x00, which is 1/256 assuming the return value is a completley random int.