View Issue Details

IDProjectCategoryView StatusLast Update
0027881RunnerHTML5Public2018-02-07 14:52
ReporterYellowAfterlifeAssigned ToMike Dailly 
PriorityMediumSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformWindowsOSWindows 8OS Version8.1
Product Version 
Target VersionFixed in Version 
Summary0027881: HTML5: INI functions add a new obfuscated "section name" pair on each run
DescriptionCode:
ini_open("gms2.ini");
ini_write_string("test", "key", "val");
ini_close();
var f = file_text_open_read("gms2.ini");
while (!file_text_eof(f)) {
    show_debug_message(file_text_read_string(f));
    show_debug_message(file_text_readln(f));
}
file_text_close(f);


First run:

[test]
_Cl2="test"
key="val"


Second run:

[test]
_Cl2="test"
_tk2="test"
key="val"


Third run:

[test]
_Cl2="test"
_Kj2="test"
_tk2="test"
key="val"


The issue lies in internal (flush?) function called from ini_close - it does not write the variable name if it's __m_pIniFileName__, but that variable name gets obfuscated outside of debug builds.

Whitelisting it would resolve the problem.
1.4 Found In1.4.17
2.x Runtime Found In2.1.0.144
2.x Runtime Verified In

Activities

YellowAfterlife

2017-09-21 11:41

Developer  

a_bug.yyz (768,471 bytes)

Mike Dailly

2017-09-25 16:24

Manager   ~0055689

fixed in gitlab