[PATCH] dn.cpp:170:46: error: format not a string literal and no format arguments [-Werror=format-security]
Closed, ResolvedPublic

Description

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../lang/cpp/src
-I../../../src -I/usr/include/qt5/QtCore -I/usr/include/qt5 -fpic
-I/usr/include/libassuan2 -DBUILDING_QGPGME -O2 -g -pipe -Wall
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c dn.cpp
-fPIC -DPIC -o .libs/dn.o
dn.cpp: In function 'const unsigned char* parse_dn_part({anonymous}::DnPair*,
const unsigned char*)':
dn.cpp:170:46: error: format not a string literal and no format arguments
[-Werror=format-security]

gpgrt_asprintf(&p, oidmap[i].name);
                                 ^
ignatenkobrain set Version to 1.9.0.
ignatenkobrain added a subscriber: ignatenkobrain.
ignatenkobrain renamed this task from dn.cpp:170:46: error: format not a string literal and no format arguments [-Werror=format-security] to [PATCH] dn.cpp:170:46: error: format not a string literal and no format arguments [-Werror=format-security].Mar 29 2017, 7:25 AM
werner assigned this task to aheinecke.Mar 29 2017, 8:39 AM
werner added a subscriber: aheinecke.
aheinecke closed this task as Resolved.Apr 24 2017, 5:55 PM

I accepted the patch so this ticket should have been resolved. Sorry.