We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RankFilter.c
1 parent 5168e0d commit e55c000Copy full SHA for e55c000
1 file changed
src/libImaging/RankFilter.c
@@ -73,7 +73,7 @@ MakeRankFunction(UINT8) MakeRankFunction(INT32) MakeRankFunction(FLOAT32)
73
}
74
75
/* malloc check ok, for overflow in the define below */
76
- if (size > INT_MAX / size || size > INT_MAX / (size * (int)sizeof(FLOAT32))) {
+ if (size > INT_MAX / (size * (int)sizeof(FLOAT32))) {
77
return (Imaging)ImagingError_ValueError("filter size too large");
78
79
0 commit comments