[Pkg-ime-devel] Bug#710643: ibus: FTBFS: ibusfactory.c:294:52: error: format not a string literal and no format arguments [-Werror=format-security]

Andrey Rahmatullin wrar at wrar.name
Sat Jun 1 16:44:59 UTC 2013


On Fri, May 31, 2013 at 09:39:16PM +0200, David Suárez wrote:
> > ibusfactory.c: In function 'ibus_factory_service_method_call':
> > ibusfactory.c:294:52: error: format not a string literal and no format arguments [-Werror=format-security]
> > cc1: some warnings being treated as errors
The code:

g_dbus_method_invocation_return_error (invocation,
                                       G_DBUS_ERROR,
                                       G_DBUS_ERROR_FAILED,
                                       error_message);

Docs say that the 4th parameter is "printf()-style format".

-- 
WBR, wRAR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ime-devel/attachments/20130601/612d730f/attachment.pgp>


More information about the Pkg-ime-devel mailing list