[MacRuby] #902: Bus error with OpenSSL::Random.pseudo_bytes.
#902: Bus error with OpenSSL::Random.pseudo_bytes. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ #!ruby #$ cat test_pseudo_bytes.rb require "openssl" p OpenSSL::Random.pseudo_bytes(256) p OpenSSL::Random.pseudo_bytes(-1) }}} Result: {{{ $ ruby test_pseudo_bytes.rb "\205?\270\0276\347p\273\241\311\315+\341\313\036!\304\315\354\200sx\322\312\362\00534d+m\e'\004H\333\307_\f'\v\335\255\227\260T\204o\004\237\e\225\bw\340\260\351\320\203\313\031\005\006\365a\342\376GT\330>\317\330\374\a\250\003C\345\301\035\\@\376F\317\314\206\035\336\"\322|\b\f\372\371}\003\2127\364\206A\2574\222N\214N~=\375\e\323.\257\325\370l=\236\255\220\3100 \313\211\300j\204\207\212\256\222\204\344\342\247\236v`\366\337\220\020\204t\313u\351\303-\326\003\204P\034\372\204\367\301\364\254;\330\333<\270\211nZ)\300\a\023$\017\030p\342\e\254f\217[R\267y\206\3319\320d\232Lw\341\307\031\273\315J:\226\242'\032\b}\231\352\333 \222\b\r\003\367\b>y\317\036G\201\020\364Uq\r\a\2749@i#B\217%Q\325\261\362\233|\364a\264\376!\237D\315X" test_pseudo_bytes.rb:4:in `pseudo_bytes': negative string size (or size too big) (ArgumentError) from test_pseudo_bytes.rb:4 $ macruby test_pseudo_bytes.rb zsh: bus error macruby test_pseudo_bytes.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/902> MacRuby <http://macruby.org/>
#902: Bus error with OpenSSL::Random.pseudo_bytes. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: closed Priority: blocker | Milestone: MacRuby 0.7 Component: MacRuby | Resolution: fixed Keywords: | ----------------------------------+----------------------------------------- Changes (by lsansonetti@…): * status: new => closed * resolution: => fixed * milestone: => MacRuby 0.7 Comment: Should be fixed by r4513 and r4514. -- Ticket URL: <http://www.macruby.org/trac/ticket/902#comment:1> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby