Apache OpenOffice (AOO) Bugzilla – Issue 68848
Function "SaveDataToFile" in Basic library "Tools" is unsafe
Last modified: 2017-05-20 11:27:30 UTC
The following code within the function "SaveDataToFile" is potentially dangerous: [......] oUcb = createUnoService("com.sun.star.ucb.SimpleFileAccess") oOutputStream = createUnoService("com.sun.star.io.TextOutputStream") If oUcb.Exists(FilePath) Then oUcb.Kill(FilePath) End If [......] It is not checked whether the passed Url represents a directory as to be done with oUcb.IsFolder(FilePath).
.
Reset assigne to the default "issues@openoffice.apache.org".