df7cb / pg_filedump

pg_filedump provides facilities for low-level examination of PostgreSQL tables and indexes
43 stars 18 forks source link

Improve struct numeric data #25

Closed andreyvatoropinit closed 8 months ago

andreyvatoropinit commented 10 months ago

During executing of tests pg_filedump test numeric fails. This happened because in function CopyAppendNumeric we use array with incorrect size.

num = (struct NumericData )buffer;

In several cases size of buffer bigger than size of num. Here is a problem.

For resolve this bug i made a patch.