aboutsummaryrefslogtreecommitdiff
path: root/ext/gorg
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2014-08-22 17:50:39 +0200
committerHans de Graaff <hans@degraaff.org>2014-08-22 17:50:39 +0200
commitfbf8026f39c8c3c2c1c740769a533159ff0606f2 (patch)
tree1abe63877e60a9c9a130b07f8474d34af7d63918 /ext/gorg
parentFix compatibility with fcgi 0.9. (diff)
downloadgorg-master.tar.gz
gorg-master.tar.bz2
gorg-master.zip
Fix potential security issue uncovered with -Werror=format-security.HEADv0.7.2master
Diffstat (limited to 'ext/gorg')
-rw-r--r--ext/gorg/xsl/xsl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gorg/xsl/xsl.c b/ext/gorg/xsl/xsl.c
index c1a9a94..5eccd43 100644
--- a/ext/gorg/xsl/xsl.c
+++ b/ext/gorg/xsl/xsl.c
@@ -383,7 +383,7 @@ void my_raise(VALUE obj, s_cleanup *clean, VALUE rbExcep, char *err)
// Raise exception if requested to
if (rbExcep != Qnil)
{
- rb_raise(rbExcep, err);
+ rb_raise(rbExcep, "%s", err);
}
}