Fix size overflow in calculation introduced by commits d6ad34f3 and bea449c6.

Amit Kapila <akapila@postgresql.org>

Commit: 519e4c9ee21a656879123f4843f1d8d60cb71536
Author: Amit Kapila <akapila@postgresql.org>
Date: 2021-03-12T10:12:08Z
Releases: 14.0
Fix size overflow in calculation introduced by commits d6ad34f3 and bea449c6.

Reported-by: Thomas Munro
Author: Takayuki Tsunakawa
Reviewed-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/CA+hUKG+oPoFizjABt=GXZWTEHx3oev5rAe2scjW2r6F1rguo5w@mail.gmail.com

Files

PathChange+/−
src/backend/storage/buffer/bufmgr.c modified +3 −3

Discussion