From: Mark Andrews Date: Sat, 26 Oct 2013 09:36:17 +0000 (+1100) Subject: use smaller buffers X-Git-Tag: v9.10.0a1~42 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=2502a568e77358ecafd4356dc6eaaaa7ca751be2;p=thirdparty%2Fbind9.git use smaller buffers --- diff --git a/lib/dns/tests/rdata_test.c b/lib/dns/tests/rdata_test.c index 747ef4bb8ca..1c866de4a7a 100644 --- a/lib/dns/tests/rdata_test.c +++ b/lib/dns/tests/rdata_test.c @@ -258,8 +258,8 @@ ATF_TC_BODY(wks, tc) { { 0x00 }, 0, ISC_FALSE } }; - unsigned char buf1[1024*1024]; - unsigned char buf2[1024*1024]; + unsigned char buf1[1024]; + unsigned char buf2[1024]; isc_buffer_t source, target1, target2; dns_rdata_t rdata; dns_decompress_t dctx; @@ -332,8 +332,8 @@ ATF_TC_BODY(isdn, tc) { { 0x00 }, 0, ISC_FALSE } }; - unsigned char buf1[1024*1024]; - unsigned char buf2[1024*1024]; + unsigned char buf1[1024]; + unsigned char buf2[1024]; isc_buffer_t source, target1, target2; dns_rdata_t rdata; dns_decompress_t dctx;