标签: authentication fortify
我们对代码进行了强化扫描,并发现了问题 often misused:authetication -The information returned by the call to getHostName() is not trustworthy
often misused:authetication -The information returned by the call to getHostName() is not trustworthy
这是代码:
String hostname=InetAddress.getLocalHost().getHostName(); InetAddress ip=InetAddress.getLocalHost();