路径操作基本路径覆盖错误 [英] Path manipulation base path overwriting error

查看:155
本文介绍了路径操作基本路径覆盖错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的项目中,他们使用了path.combine方法来形成完整的路径,并且工作正常,但是当我们运行安全漏洞检查fortify时,它正在抛出

Hi, In our project they have used path.combine method to form the complete path, and it is working fine, but when we ran our Security vulnerability check fortify, it is throwing

path manipulation : Base path overwriting error

。亲切的帮助。



我的尝试:



我试过在组合路径后包含GetFullPath方法,但问题仍然没有解决。

. kindly help.

What I have tried:

I have tried to include GetFullPath method after combining the path, but still the issue is not fixed.

推荐答案

寻找解决方案的最佳位置是在Fortify支持论坛上,例如 [POLICY-541]修复强化路径操纵问题 - ONAP [ ^ ]

相同的解决方案措辞不同 -

如何解决fortify给出的路径操作错误 [ ^ ]



除此之外我们只能猜测你没有共享任何代码
The best place to look for solutions is on the Fortify support forums e.g. [POLICY-541] Fix Fortify Path Manipulation Issue - ONAP[^]
Same solution worded in a different way -
How to resolve path manipulation error given by fortify[^]

Beyond that we can only guess as you haven't shared any code


这篇关于路径操作基本路径覆盖错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆