Browse Source

Remove unnecessary patch
1e746c21e253120adc9124771d9fb797a8c44da0

shadchin 9 months ago
parent
commit
bce6ff7dcd
1 changed files with 0 additions and 5 deletions
  1. 0 5
      contrib/tools/python3/Python/bootstrap_hash.c

+ 0 - 5
contrib/tools/python3/Python/bootstrap_hash.c

@@ -120,11 +120,6 @@ py_getrandom(void *buffer, Py_ssize_t size, int blocking, int raise)
         else {
             n = getrandom(dest, n, flags);
         }
-#  ifdef _Py_MEMORY_SANITIZER
-        if (n > 0) {
-             __msan_unpoison(dest, n);
-        }
-#  endif
 #else
         /* On Linux, use the syscall() function because the GNU libc doesn't
            expose the Linux getrandom() syscall yet. See: