[#18121] [Ruby 1.8.7 - Bug #405] (Open) ssl.rb:31: [BUG] Bus Error — Anonymous <redmine@...>

Issue #405 has been reported by Anonymous.

14 messages 2008/08/04

[#18130] Re: New array methods cycle, choice, shuffle (plus bug in cycle) — Brian Candler <B.Candler@...>

> Seriously though... Array.first is a noun.

10 messages 2008/08/05

[#18319] NEW Command: absolute_path() -- — "C.E. Thornton" <admin@...>

Core,

14 messages 2008/08/16
[#18321] Re: NEW Command: absolute_path() -- — Yukihiro Matsumoto <matz@...> 2008/08/18

Hi,

[#18381] [Bug #496] DRb.start_service(nil) is very slow — Hongli Lai <redmine@...>

Bug #496: DRb.start_service(nil) is very slow

11 messages 2008/08/25

[ruby-core:18041] [Ruby 1.8.7 - Bug #382] (Open) Dir#tell leads to segfaults in Dir#read on win32

From: Anonymous <redmine@...>
Date: 2008-08-01 02:55:40 UTC
List: ruby-core #18041
Issue #382 has been reported by Anonymous.

----------------------------------------
Bug #382: Dir#tell leads to segfaults in Dir#read on win32
http://redmine.ruby-lang.org/issues/show/382

Author: Anonymous
Status: Open
Priority: Normal
Assigned to: 
Category: 
Target version: 


rb_w32_telldir calculates the position on each call by repeatedly calling move_to_next_entry.
This increases dirp->loc each time and leads to segfaults in rb_w32_readdir when reading dirp->bits because dirp->loc can be larger than allowed. Simply returning dirp->loc in rb_w32_telldir and zeroing it in rb_w32_rewinddir should suffice.

This bug seemed to never got introduced into the 1.9 branch.


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next