Page MenuHomeFeedback Tracker

Linux Server loadfile issue + server.cfg
Closed, ResolvedPublic

Description

Looks like Linux Server on Arma, doesn't zero out memory when it tries to load a file that doesn't exist.

If you try to use a loadFile on Linux Server it will return garbage output if file doesn't exist.
Makes it impossible to use loadFile to check if an external configfile exists for mission.

Also notice this behaviour for when you launch linux server without supplying it with a server.cfg.

Both issues are more than likely related...

Details

Legacy ID
1496817968
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting
Steps To Reproduce

Linux ArmaServer

Launch arma3server + don't give it a server.cfg

----------

Scripting Reproduce

diag_log (loadFile (externalConfigFolder + "\filethatdoesntexist.sqf"));

Event Timeline

Bohemia edited Steps To Reproduce. (Show Details)Oct 5 2014, 7:02 PM
Bohemia edited Additional Information. (Show Details)
Bohemia set Category to Scripting.
Bohemia set Reproducibility to Always.
Bohemia set Severity to None.
Bohemia set Resolution to Open.
Bohemia set Legacy ID to 1496817968.May 7 2016, 7:33 PM
Bohemia added a subscriber: Bohemia.

Issue appears to be fixed, unable to reproduce after updating arma + linux os.

dedmen closed this task as Resolved.May 18 2020, 11:32 AM
dedmen claimed this task.