Improved checkBufferOverrun::classInfo (#4667)