Project

General

Profile

Actions

Bug #13301

closed

Bad value parse in IniFile Gem

Bug #13301: Bad value parse in IniFile Gem

Added by eegah (Eric Griswold) over 8 years ago. Updated over 8 years ago.

Status:
Third Party's Issue
Assignee:
-
Target version:
-
ruby -v:
ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
[ruby-core:80005]

Description

A carefully (or accidentally) crafted value can cause Inifile#load to become confused when it apparently incorrectly parses a string as a scientific notation value.

The enclosed script should print "2017.1_26_57e7669". Instead it prints "Infinity"


Files

bug-demo (250 Bytes) bug-demo eegah (Eric Griswold), 03/10/2017 11:57 PM

Updated by eegah (Eric Griswold) over 8 years ago Actions #1 [ruby-core:80006]

D'oh! This belongs against the gem, not the Ruby language. Feel free to close it.

Updated by vo.x (Vit Ondruch) over 8 years ago Actions #2 [ruby-core:80013]

  • Status changed from Open to Third Party's Issue
Actions

Also available in: PDF Atom