Add assertion to check the special size is sane before dereferencing it.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 302ac7f27197855afa8c89fae36c85c124ae156b
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-06-30T10:44:04Z
Releases: 9.5.0
Add assertion to check the special size is sane before dereferencing it.

This seems useful to catch errors of the sort I just fixed, where
PageGetSpecialPointer is called before initializing the page.

Files

PathChange+/−
src/include/storage/bufpage.h modified +2 −0