[exim-dev] Experimental PRDR bug

Top Page
Delete this message
Reply to this message
Author: Mike Cardwell
Date:  
To: exim-dev
Subject: [exim-dev] Experimental PRDR bug
Think I've found a bug in the experimental PRDR support in 4.82 RC3.
I grabbed the Debian 4.82 RC3 package, enabled a few experimental
features and then did a dpkg-buildpackage. Here's where it bombed out
when PRDR was enabled:

========================================================================
receive.c: In function ‘receive_msg’:
receive.c:3315:2: error: format not a string literal and no format arguments [-Werror=format-security]
  else               log_write(0, LOG_MAIN, CS msg);
========================================================================


If you want to apply the same build flags to replicate the error in a non
Debian build, here they are:

========================================================================
mike@glue:~$ dpkg-buildflags
CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
CPPFLAGS=-D_FORTIFY_SOURCE=2
CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
FFLAGS=-g -O2
GCJFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4
LDFLAGS=-Wl,-z,relro
mike@glue:~$
========================================================================

-- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4