wok-current annotate ruby-ncurses/stuff/Werror-format-security.patch @ rev 22481

updated ansible (1.5.3 -> 2.9.2)
author Hans-G?nter Theisgen
date Mon Dec 30 14:41:15 2019 +0100 (2019-12-30)
parents
children
rev   line source
paul@16777 1 diff -Naur ncurses-ruby-1.3.1/form_wrap.c ncurses-ruby-1.3.1.format/form_wrap.c
paul@16777 2 --- ncurses-ruby-1.3.1/form_wrap.c 2014-02-03 11:31:39.049867878 +0100
paul@16777 3 +++ ncurses-ruby-1.3.1.format/form_wrap.c 2014-02-03 11:44:37.001008654 +0100
paul@16777 4 @@ -1132,7 +1132,7 @@
paul@16777 5 char msg[500];
paul@16777 6 snprintf(msg, 500, "The validation functions for this field type need %d additional arguments.",(int)(NUM2INT(argc)-1));
paul@16777 7 msg[499]=0;
paul@16777 8 - rb_raise(rb_eArgError, msg);
paul@16777 9 + rb_raise(rb_eArgError, "%s", msg);
paul@16777 10 }
paul@16777 11 }
paul@16777 12 }