diff options
author | xambroz <rebus@seznam.cz> | 2018-03-14 02:30:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-14 02:30:52 +0000 |
commit | 831f4ea33479efb2c81a2339017b5d0db3363962 (patch) | |
tree | 878538e241b548b443177cf02cf15bc6aa4447ff /src/ruby/ext/grpc/extconf.rb | |
parent | 06a412c2e1c323e06cf29664d393730529678dd8 (diff) |
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
Diffstat (limited to 'src/ruby/ext/grpc/extconf.rb')
-rw-r--r-- | src/ruby/ext/grpc/extconf.rb | 1 |
1 files changed, 0 insertions, 1 deletions
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 |