laptop and a wrench

漏洞

The AML [access] function results are incorrect for Samba server files; therefore, affecting the Arctools and Forms command.

上次发布: August 25, 2014 No Product Found
漏洞 ID 编号 NIM031673
已提交January 30, 2008
上次修改时间June 5, 2024
适用范围No Product Found
找到的版本8.2
状态Will Not Be Addressed

附加信息

No Public Explanation

解决办法

FROM CQ00126787:----------------------------User has workarounds:1) comment out check for accessor2) replace check using [ACCESS] with the following check:&sv fname = [scratchname -prefix xxx -file]&sv fu [open %fname% ostat -write]&if %ostat% = 0 &then &sv closestat = [close %fu%] &sv delstat = [delete %fname% -file] /* do processing&end--------------------------------------How to implement it in FORMS.AMLcopy the atool\arcplot\forms.aml to locale\c\atool\arcplot\forms.aml, and edit the locale version to not use the [access] function.&if not [access [dir [pathname [value specifier]]] -write] &then &do &type 'Insufficient Access!' &return&end /* if--- /*** /*** [access] fails on Samba drives (says it can't write) /*** /*&if not [access [dir [pathname [value specifier]]] -write] &then &do /* &type 'Insufficient Access!' /* &return /*&end /* if /*** Workaround (cprice, 01/28/2008) &s ff [scratchname -file -ext .txt] &s ch [open %ff% st -w] &if %st% eq 0 &then &do &s st [close %ch%] &s st [delete %ff%] &end &else &return &error 'Insufficient Access!'

重现步骤

漏洞 ID: NIM031673

软件:

  • No Product Found

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项