Your message dated Tue, 26 Aug 2014 17:19:01 +0000
with message-id <[email protected]>
and subject line Bug#749804: fixed in orafce 3.0.7-3
has caused the Debian Bug report #749804,
regarding orafce: Conflicting declarations of function orafce_sql_yyerror with 
undefined behaviour
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
749804: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749804
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: orafce
Version: 3.0.6-1
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security -fPIC -pie -I/usr/include/mit-krb5 
-DLINUX_OOM_SCORE_ADJ=0 -fno-omit-frame-pointer -Wall -Wmissing-prototypes 
-Wpointer-arith -Wdeclaration-after-statement -Wendif-labels 
-Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv 
-fexcess-precision=standard -g -fpic -shared -o orafunc.so convert.o file.o 
datefce.o magic.o others.o plvstr.o plvdate.o shmmc.o plvsubst.o utility.o 
plvlex.o alert.o pipe.o sqlparse.o putline.o assert.o plunit.o random.o 
aggregate.o -L/usr/lib -Wl,-z,relro -Wl,-z,now -Wl,--as-needed 
-L/usr/lib/mit-krb5 -L/usr/lib/x86_64-linux-gnu/mit-krb5  -Wl,--as-needed   
-L/usr/lib/gettextlib

error: conflicting function declarations "orafce_sql_yyerror"
old definition in module plvlex file plvlex.c line 40
void (const char *)
new definition in module sqlparse file sqlscan.l line 905
void (struct List **result, const char *message)
/usr/lib/postgresql/9.3/lib/pgxs/src/makefiles/../../src/Makefile.shlib:329: 
recipe for target 'orafunc.so' failed
make[2]: *** [orafunc.so] Error 64
make[2]: Leaving directory 
'/srv/jenkins-slave/workspace/sid-goto-cc-orafce/orafce-3.0.6'
debian/rules:11: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 2

It seems plvlex.c both declares and uses yyerror in the wrong way:

http://sources.debian.net/src/orafce/3.0.6-1/plvlex.c?hl=210#L210

Rather the declaration should be as seen here:

http://sources.debian.net/src/orafce/3.0.6-1/sqlparse.y?hl=47#L47

to match the definition here:

http://sources.debian.net/src/orafce/3.0.6-1/sqlscan.l?hl=905#L905

In the current set up, stack underflow will necessarily occur, resulting in
undefined behaviour.

Best,
Michael

Attachment: pgpqYo10JY_le.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: orafce
Source-Version: 3.0.7-3

We believe that the bug you reported is fixed in the latest version of
orafce, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Pitt <[email protected]> (supplier of updated orafce package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Tue, 26 Aug 2014 19:07:29 +0200
Source: orafce
Binary: postgresql-9.4-orafce
Architecture: source amd64
Version: 3.0.7-3
Distribution: unstable
Urgency: medium
Maintainer: Debian PostgreSQL Maintainers 
<[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
 postgresql-9.4-orafce - Oracle support functions for PostgreSQL 9.4
Closes: 749804
Changes:
 orafce (3.0.7-3) unstable; urgency=medium
 .
   * Fix invocation of orafce_sql_yyerror. Patch taken from upstream git.
     (Closes: #749804)
Checksums-Sha1:
 f89b5815e4658079f5d568a5c43a5722125e065a 2040 orafce_3.0.7-3.dsc
 cabae68314bec990e0e6605353a23477b45f5617 4484 orafce_3.0.7-3.debian.tar.xz
 c0bf06d75f06a301bbdb85fb5e8337945a738fc2 80676 
postgresql-9.4-orafce_3.0.7-3_amd64.deb
Checksums-Sha256:
 1359b417f25708ef21994caa2baa1034b9ff43c5d4bc38d01444c3df5121a644 2040 
orafce_3.0.7-3.dsc
 74d2665dadf6bdc2f51f9b60889be50113100456ab627e61a3e52a0511ef52dd 4484 
orafce_3.0.7-3.debian.tar.xz
 f71bf5339cb52c5651e85da242a0cbd490a740f9046fc2b238ef8003190ff740 80676 
postgresql-9.4-orafce_3.0.7-3_amd64.deb
Files:
 9f2263e98522ac6d8eb1523c869b99cc 80676 database optional 
postgresql-9.4-orafce_3.0.7-3_amd64.deb
 430ee003b9a5fb0246ad8247fb59ab51 2040 database optional orafce_3.0.7-3.dsc
 839466377339a89e4c143494c40832b0 4484 database optional 
orafce_3.0.7-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJT/L8BAAoJENFO8V2v4RNH9V0QALcDVvrN7L7Dg5VcrysqR0Y6
rHjAr8vEmP/piN3dIg3v6xQQ2CtHCijKzGZFnXqii9X26JiT3xuvn17UTI9c1uoT
chfGw4eok0HCJaihPNivZILc1Pu9YwHATRN3qr8Jr1cG9eIS3imA55FCCLXdh6f5
q11bvdTcL+V3Yz7ExrwyNv4WRkVVnH+MnVsan18KlyFUk5w1bV4T4tGgXHAuGiMN
lgW1c9kdqaZ3xtcYZqmvOaXIFcQccLWmtfVjmr7xFEDV5kN+gvnNTXT1+/T+decn
wTBEIn48ok5Itx+kTb4XBLbMPPlOQ/snU2ofUjYRngNIxAzBqJk7YPyyFDYzlIqx
NQR1sEiDMEo/CyCNaiPopvbr9AMBfp+iGqt10PADK6BE/JMDmdSTJovfsH+v9RV7
lIqyafOwsEKJsaFG8jUdhNpyhwCYBCoEa5v+/gyxXThNUBFRXCZ30oKu0bf08TXR
EcWmskEDy7YHDP8MC51te7hoi9NMAfCO4hlmOFCo2Z7IpXhJVxY0w012NBECNIyP
EsaPvvpeMiwPn5ZEc8teokM+DrPK3jk6655mGRSXc5keCQ7YFf/44NkTW9FXaRgI
hERSnPs6d9DqWHtdWqBNV2ZyVfeChKQkyzK/T1XfhuqREtv9LgZeRPjzvjPflR7K
f7qwvdX8Y9y6NP70Uw2+
=nFGX
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to