るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.029秒)
トップページ > クエリ:sec[x] > クエリ:rb_secure[x]

別のキーワード

  1. mkmf install_rb
  2. kernel install_rb
  3. rb_secure
  4. rb_ensure
  5. rb_rescue

種類

検索結果

void rb_secure(int level) (44200.0)

現在のセーフレベルが level 以上のとき、 例外 SecurityError を発生します。

...現在のセーフレベルが level 以上のとき、
例外 SecurityError を発生します。...

ruby 1.6 feature (18.0)

ruby 1.6 feature ruby version 1.6 は安定版です。この版での変更はバグ修正がメイン になります。

...9>))

ruby -Tv # -v が無効 (ruby 1.6.7 (2002-03-01) [i586-linux])

=> ruby: No program input from stdin allowed in tainted mode (SecurityError)

=> ruby 1.6.7 (2002-07-30) [i586-linux]

: 2002-05-20 IO#close

双方向のパイプの dup を close_write するとエラ...
....6.7 (2002-07-30) [i586-linux]
"\\#"
nil

: 2002-04-29: rb_find_file()

$SAFE >= 4 で、絶対パス指定でない場合、SecurityError 例外が発生する
ようになりました。

: 2002-04-26: Regexp.quote

((<ruby-bugs-ja:PR#231>))

p Regexp.quote("\t"...
...=> -:1: Insecure: can't define method (SecurityError)
ruby 1.6.4 (2001-08-06) [i586-linux]

対応するChangeLogは以下のようです。

Tue Jun 5 15:16:06 2001 Yukihiro Matsumoto <matz@ruby-lang.org>

* eval.c (rb_add_method): should not call rb_secure(), for...