Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix call `rb_raise`, for build with "gcc -Werror=format-security" #5

Merged
merged 1 commit into from

2 participants

@uwabami

Hi,

Please apply this commit for build Debian/Ubuntu packages.

Best Wishes,
Youhei
Signed-off-by: Youhei SASAKI uwabami@gfd-dennou.org

Debian Ruby Extras Maintainers Fix Format not a string literal and no format arguments
Fix call `rb_raise`, for build with "-Werror=format-security"

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
77c3190
@nateware nateware merged commit f754cc3 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 3, 2013
  1. @uwabami

    Fix Format not a string literal and no format arguments

    Debian Ruby Extras Maintainers authored uwabami committed
    Fix call `rb_raise`, for build with "-Werror=format-security"
    
    Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/fast_aes.c
View
2  ext/fast_aes.c
@@ -96,7 +96,7 @@ VALUE fast_aes_initialize(VALUE self, VALUE key)
break;
default:
sprintf(error_mesg, "AES key must be 128, 192, or 256 bits in length (got %d): %s", key_bits, key_data);
- rb_raise(rb_eArgError, error_mesg);
+ rb_raise(rb_eArgError, "%s", error_mesg);
return Qnil;
}
Something went wrong with that request. Please try again.