e$B0J2<$N$h$&$K!"e(B OpenSSL::Random.random_bytes(Object.new) e$B$Ge(B
negative string size (or size too big) (ArgumentError)
e$B$H$$$&Nc30$K$J$k$N$OJQ$J$N$G$O$J$$$G$7$g$&$+!#e(B
% ./ruby -ropenssl -ve ‘p OpenSSL::Random.random_bytes(Object.new)’
ruby 1.8.7 (2008-05-28 patchlevel 5000) [i686-linux]
-e:1:in `random_bytes’: negative string size (or size too big)
(ArgumentError)
from -e:1
At Fri, 30 May 2008 01:55:43 +0900,
Tanaka A. wrote:
以下ã®ã‚ˆã†ã«ã€ OpenSSL::Random.random_bytes(Object.new) ã§
negative string size (or size too big) (ArgumentError)
ã¨ã„ã†ä¾‹å¤–ã«ãªã‚‹ã®ã¯å¤‰ãªã®ã§ã¯ãªã„ã§ã—ょã†ã‹ã€‚
% ./ruby -ropenssl -ve ‘p OpenSSL::Random.random_bytes(Object.new)’
ruby 1.8.7 (2008-05-28 patchlevel 5000) [i686-linux]
-e:1:in `random_bytes’: negative string size (or size too big) (ArgumentError)
from -e:1
 FIXNUM_P()ã§ãƒã‚§ãƒƒã‚¯ã›ãšã«FIX2INT()ã—ã¦ã„ã‚‹ã®ãŒå•é¡Œã§ã—ãŸã€‚
ã»ã‹ã«ã‚‚ã„ãã¤ã‹ã‚ã£ãŸã®ã§ä½µã›ã¦ç›´ã—ã¾ã—ãŸã€‚