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
pull/14705/head
xambroz 7 years ago committed by GitHub
parent 06a412c2e1
commit 831f4ea334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/ruby/ext/grpc/extconf.rb

@ -94,7 +94,6 @@ $CFLAGS << ' -std=c99 '
$CFLAGS << ' -Wall ' $CFLAGS << ' -Wall '
$CFLAGS << ' -Wextra ' $CFLAGS << ' -Wextra '
$CFLAGS << ' -pedantic ' $CFLAGS << ' -pedantic '
$CFLAGS << ' -Wno-format '
output = File.join('grpc', 'grpc_c') output = File.join('grpc', 'grpc_c')
puts 'Generating Makefile for ' + output puts 'Generating Makefile for ' + output

Loading…
Cancel
Save