+2832. [bug] Modify "struct stat" in lib/export/samples/nsprobe.c
+ to avoid redefinition in some OSes [RT 20831]
+
2831. [security] Do not attempt to validate or cache
out-of-bailiwick data returned with a secure
answer; it must be re-fetched from its original
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nsprobe.c,v 1.5 2009/09/29 15:06:06 fdupont Exp $ */
+/* $Id: nsprobe.c,v 1.6 2010/01/07 18:31:34 sar Exp $ */
#include <config.h>
ISC_LIST(struct probe_ns) nslist;
};
-struct stat {
+struct lcl_stat {
unsigned long valid;
unsigned long ignore;
unsigned long nxdomain;
update_stat(struct probe_trans *trans) {
struct probe_ns *pns;
struct server *server;
- struct stat local_stat;
+ struct lcl_stat local_stat;
unsigned int err_count = 0;
const char *stattype;