Forum: Ruby-core [ruby-trunk - Bug #8803][Open] Another buffer overflow

0f7b0c6162b9186605cd27787717b526?d=identicon&s=25 test tt (test1t1)
on 2013-08-19 22:23
(Received via mailing list)
Issue #8803 has been reported by user021 (a s).

----------------------------------------
Bug #8803: Another buffer overflow
https://bugs.ruby-lang.org/issues/8803

Author: user021 (a s)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Hello guys, i was running a little code written in ruby for a few
minutes (more exactly
https://github.com/Hood3dRob1n/Ding.rb/blob/master/ding2.rb) when it
crashed, reason buffer overflow. I did increase opened files limit on my
Ubuntu Release 12.04 (precise) 64-bit (Kernel Linux 3.2.0-40-generic)
ulimit -n 20000 but no effect.thx in advance
18813f71506ebad74179bf8c5a136696?d=identicon&s=25 Eric Wong (Guest)
on 2013-08-20 01:56
(Received via mailing list)
"user021 (a s)" <user021@hushmail.com> wrote:
> Bug #8803: Another buffer overflow
> https://bugs.ruby-lang.org/issues/8803
> ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

>  I did increase opened files limit on my Ubuntu Release 12.04 (precise) 64-bit
(Kernel Linux 3.2.0-40-generic) ulimit -n 20000 but no effect.thx in advance

Actually, this looks like problem with _FORTIFY_SOURCE usage in Ubuntu.
Please try 1.9.3-p448 or 2.0.0-p247, which contains workaround:
(r39985 in SVN)
0f7b0c6162b9186605cd27787717b526?d=identicon&s=25 test tt (test1t1)
on 2013-08-20 15:36
(Received via mailing list)
Issue #8803 has been updated by user021 (a s).


normalperson (Eric Wong) wrote:
> "user021 (a s)" <user021@hushmail.com> wrote:
>  > Bug #8803: Another buffer overflow
>  > https://bugs.ruby-lang.org/issues/8803
>  > ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
>
>  >  I did increase opened files limit on my Ubuntu Release 12.04 (precise)
64-bit (Kernel Linux 3.2.0-40-generic) ulimit -n 20000 but no effect.thx in
advance
>
>  Actually, this looks like problem with _FORTIFY_SOURCE usage in Ubuntu.
>  Please try 1.9.3-p448 or 2.0.0-p247, which contains workaround:
>  (r39985 in SVN)

This might sound silly but how can i run my code with the new ruby
1.9.3-p448 that i installed using rbenv. when i do 'ruby -v' shows the
old version and 'rbenv version' shows the newer one.thx


----------------------------------------
Bug #8803: Another buffer overflow
https://bugs.ruby-lang.org/issues/8803#change-41302

Author: user021 (a s)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Hello guys, i was running a little code written in ruby for a few
minutes (more exactly
https://github.com/Hood3dRob1n/Ding.rb/blob/master/ding2.rb) when it
crashed, reason buffer overflow. I did increase opened files limit on my
Ubuntu Release 12.04 (precise) 64-bit (Kernel Linux 3.2.0-40-generic)
ulimit -n 20000 but no effect.thx in advance
18813f71506ebad74179bf8c5a136696?d=identicon&s=25 Eric Wong (Guest)
on 2013-08-20 18:48
(Received via mailing list)
"user021 (a s)" <user021@hushmail.com> wrote:
> This might sound silly but how can i run my code with the new ruby
> 1.9.3-p448 that i installed using rbenv. when i do 'ruby -v' shows the
> old version and 'rbenv version' shows the newer one.thx

I have no familarity with rbenv/rvm, but with any autotooled package,
I will use:

  ./configure --prefix=/my/choice/of/location $any_other_args
  make
  make install

And add /my/choice/of/location/bin to the beginning of my $PATH.   I do
this for Ruby, and a bunch of other non-Ruby packages I track the
upstream development of.

rbenv/rvm authors should be able to help you if you choose to stick
with them.
0f7b0c6162b9186605cd27787717b526?d=identicon&s=25 test tt (test1t1)
on 2013-08-21 16:16
(Received via mailing list)
Issue #8803 has been updated by user021 (a s).


normalperson (Eric Wong) wrote:
>    make install
>
>  And add /my/choice/of/location/bin to the beginning of my $PATH.   I do
>  this for Ruby, and a bunch of other non-Ruby packages I track the
>  upstream development of.
>
>  rbenv/rvm authors should be able to help you if you choose to stick
>  with them.

Yeah using ruby 1.9.3-p448 fixed my problem, thx alot.

----------------------------------------
Bug #8803: Another buffer overflow
https://bugs.ruby-lang.org/issues/8803#change-41313

Author: user021 (a s)
Status: Open
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Hello guys, i was running a little code written in ruby for a few
minutes (more exactly
https://github.com/Hood3dRob1n/Ding.rb/blob/master/ding2.rb) when it
crashed, reason buffer overflow. I did increase opened files limit on my
Ubuntu Release 12.04 (precise) 64-bit (Kernel Linux 3.2.0-40-generic)
ulimit -n 20000 but no effect.thx in advance
Eabad423977cfc6873b8f5df62b848a6?d=identicon&s=25 hsbt (Hiroshi SHIBATA) (Guest)
on 2013-11-29 11:42
(Received via mailing list)
Issue #8803 has been updated by hsbt (Hiroshi SHIBATA).

Status changed from Open to Closed


----------------------------------------
Bug #8803: Another buffer overflow
https://bugs.ruby-lang.org/issues/8803#change-43254

Author: user021 (a s)
Status: Closed
Priority: Normal
Assignee:
Category:
Target version:
ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


Hello guys, i was running a little code written in ruby for a few
minutes (more exactly
https://github.com/Hood3dRob1n/Ding.rb/blob/master/ding2.rb) when it
crashed, reason buffer overflow. I did increase opened files limit on my
Ubuntu Release 12.04 (precise) 64-bit (Kernel Linux 3.2.0-40-generic)
ulimit -n 20000 but no effect.thx in advance
This topic is locked and can not be replied to.