The pointer should be moved adequately depending on the length of socket address as populated in the structure after the call.
根据调用之后该结构中填充的套接字地址的长度,可以对这个指针进行移动。
For example, if you call on a DNS resolver to get information (such as the canonical name of an IP address), remember that this data might be directly provided by an attacker.
例如,如果您调用了一个DNS解析程序来获得一些信息(例如ip地址所对应的域名),就请记住这些数据可能会是由攻击者直接提供的。
Then in the Source view, add the code at the end of the displayResults function (as shown below) to call the Yahoo Map program with the customer address supplied by the HATS web service.
然后在 Source 视图中,将如下代码添加到 displayResults 函数(如下所示)的末端以便用 HATS Web 服务所提供的用户地址调用这个 Yahoo Map 程序。
应用推荐