[Pkg-postgresql-public] Bug#750163: postgresql-plproxy: Conflicting declarations of function plproxy_yy_scan_bytes to cause undefined behaviour
Peter Eisentraut
petere at debian.org
Sat Dec 27 15:01:43 UTC 2014
The flex documentation has
Function: YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len)
which is what plproxy abides by.
The actual flex implementation uses yy_size_t, which is really size_t.
Reported upstream as <https://sourceforge.net/p/flex/bugs/184/>.
Ideally, flex --header-file should be used instead of copying the declaration.
Patch proposed upstream as <https://github.com/markokr/plproxy-dev/pull/10>.
More information about the Pkg-postgresql-public
mailing list