-
Tor Didriksen authored
Bug#72856 SHA2(x, NULL) yields SHA2(x, 0) instead of NULL The documentation for SHA2(str, hash_length) says: If either argument is NULL or the hash length is not one of the permitted values, the return value is NULL. This was not the case for hash_length == NULL or for hash_length == <some illegal value, which becomes legal when cast to uint>
Tor Didriksen authoredBug#72856 SHA2(x, NULL) yields SHA2(x, 0) instead of NULL The documentation for SHA2(str, hash_length) says: If either argument is NULL or the hash length is not one of the permitted values, the return value is NULL. This was not the case for hash_length == NULL or for hash_length == <some illegal value, which becomes legal when cast to uint>
Loading