mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 09:56:17 +03:00
Merge pull request #6714 from wiredfool/valgrind_imagingtransform
Fix compiler error: accessing 64 bytes in a region of size 48
This commit is contained in:
commit
03b8ac911d
|
@ -1829,7 +1829,7 @@ _resize(ImagingObject *self, PyObject *args) {
|
|||
box[1] - (int)box[1] == 0 && box[3] - box[1] == ysize) {
|
||||
imOut = ImagingCrop(imIn, box[0], box[1], box[2], box[3]);
|
||||
} else if (filter == IMAGING_TRANSFORM_NEAREST) {
|
||||
double a[6];
|
||||
double a[8];
|
||||
|
||||
memset(a, 0, sizeof a);
|
||||
a[0] = (double)(box[2] - box[0]) / xsize;
|
||||
|
|
Loading…
Reference in New Issue
Block a user