Error arguments in pl_exec.c
I get the following warnings in HEAD
pl_exec.c: In function ‘exec_stmt_raise’:
pl_exec.c:2538: warning: format not a string literal and no format arguments
pl_exec.c:2538: warning: format not a string literal and no format arguments
Attached patch seems right to me - objections?
//Magnus
Attachments:
plexec.difftext/x-diff; name=plexec.diffDownload+4-4
Magnus Hagander <magnus@hagander.net> writes:
I get the following warnings in HEAD
pl_exec.c: In function ‘exec_stmt_raise’:
pl_exec.c:2538: warning: format not a string literal and no format arguments
pl_exec.c:2538: warning: format not a string literal and no format argumentsAttached patch seems right to me - objections?
ick. that's actually a security hole. Thankfully it's new code in cvs head.
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's Slony Replication support!
Magnus Hagander <magnus@hagander.net> writes:
Attached patch seems right to me - objections?
Good catch. What gave you these warnings exactly?
regards, tom lane