Comment on Security vulnerability in MySQL ubuntuComments−dawkins14y"Because the protocol uses random strings, the probability of hitting this bug is about 1/256."Why 1/256?−jontro14yBecause 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.
Comments
"Because the protocol uses random strings, the probability of hitting this bug is about 1/256."
Why 1/256?
Because 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.