[ruby-core:80013] [Ruby trunk Bug#13301][Third Party's Issue] Bad value parse in IniFile Gem

From: v.ondruch@...
Date: 2017-03-11 10:48:57 UTC
List: ruby-core #80013
Issue #13301 has been updated by Vit Ondruch.

Status changed from Open to Third Party's Issue

----------------------------------------
Bug #13301: Bad value parse in IniFile Gem
https://bugs.ruby-lang.org/issues/13301#change-63431

* Author: Eric Griswold
* Status: Third Party's Issue
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.4.0p0 (2016-12-24 revision 57164) [x86_64-linux]
* Backport: 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
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)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next