Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory access out of bounds in numpy + chrome 89 #1474

Merged
merged 23 commits into from
Apr 17, 2021
Merged
Prev Previous commit
Next Next commit
Tiny cleanup of patch
  • Loading branch information
Hood committed Apr 16, 2021
commit 1f9727c7e9941503265d812240750f5145db7103
2 changes: 1 addition & 1 deletion packages/numpy/patches/segfault-PyArray_Broadcast.patch
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ index 9da811f69..a801c221a 100644
int i, nd, k, j;
npy_intp tmp;
PyArrayIterObject *it;
-

/* Discover the broadcast number of dimensions */
for (i = 0, nd = 0; i < mit->numiter; i++) {
nd = PyArray_MAX(nd, PyArray_NDIM(mit->iters[i]->ao));
Expand Down