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 #1

Updated by normalperson (Eric Wong) over 5 years ago

  • Status changed from Open to Closed

Applied in changeset trunk|r64823.


webrick: raise EOFError in parse when read line is nil

[Bug #15146]

From: Justin Li

Actions

Also available in: Atom PDF

Like0
Like0Like0