aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshadchin <shadchin@yandex-team.com>2024-05-20 09:32:34 +0300
committershadchin <shadchin@yandex-team.com>2024-05-20 09:46:45 +0300
commitbce6ff7dcd75c2ad9589b9ec61f42c0efc03909e (patch)
tree486595efe3bf247b65ab6fdaec51bb2e71f573ae
parent113478c6a7e201ab2d7ad78d9edbc28800283a75 (diff)
downloadydb-bce6ff7dcd75c2ad9589b9ec61f42c0efc03909e.tar.gz
Remove unnecessary patch
1e746c21e253120adc9124771d9fb797a8c44da0
-rw-r--r--contrib/tools/python3/Python/bootstrap_hash.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/tools/python3/Python/bootstrap_hash.c b/contrib/tools/python3/Python/bootstrap_hash.c
index da85db35c1..587063ef1a 100644
--- a/contrib/tools/python3/Python/bootstrap_hash.c
+++ b/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: