From 831f4ea33479efb2c81a2339017b5d0db3363962 Mon Sep 17 00:00:00 2001 From: xambroz Date: Wed, 14 Mar 2018 02:30:52 +0000 Subject: Enable checking for the string format issues Enable checking for the string format issues because: 1) Fedora and Ubuntu have format checking generating errors as mandatory for the ruby gem builds. If "-Wno-format" is hardcoded here it will collide and fail with the in-build option of -Werror=format-security passed to the make. 2) There was one potential format vulnerability found in rb_compression_options.c --- src/ruby/ext/grpc/extconf.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'src/ruby/ext') diff --git a/src/ruby/ext/grpc/extconf.rb b/src/ruby/ext/grpc/extconf.rb index c1a0c56841..e8e87e4f15 100644 --- a/src/ruby/ext/grpc/extconf.rb +++ b/src/ruby/ext/grpc/extconf.rb @@ -94,7 +94,6 @@ $CFLAGS << ' -std=c99 ' $CFLAGS << ' -Wall ' $CFLAGS << ' -Wextra ' $CFLAGS << ' -pedantic ' -$CFLAGS << ' -Wno-format ' output = File.join('grpc', 'grpc_c') puts 'Generating Makefile for ' + output -- cgit v1.2.3