Project

General

Profile

Actions

Bug #15146

closed

[PATCH] webrick: raise EOFError in parse when read line is nil

Added by pushrax (Justin Li) over 5 years ago. Updated over 5 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:89126]

Description

If the IO object being read during parse returned nil from gets, a NoMethodError would be raised calling bytesize on nil. Instead, an EOFError should be returned. This bug has been present since r14260.

https://github.com/ruby/ruby/pull/1960


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0