From: Mark Andrews Date: Sat, 26 Oct 2013 09:36:17 +0000 (+1100) Subject: use smaller buffers X-Git-Tag: v9.6-ESV-R11b1~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d47d7de8d5fb76925a1e9020666a136611f11ff;p=thirdparty%2Fbind9.git use smaller buffers (cherry picked from commit 2502a568e77358ecafd4356dc6eaaaa7ca751be2) --- diff --git a/lib/dns/tests/rdata_test.c b/lib/dns/tests/rdata_test.c index 41891ab48b9..02e460b100a 100644 --- a/lib/dns/tests/rdata_test.c +++ b/lib/dns/tests/rdata_test.c @@ -259,8 +259,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; @@ -333,8 +333,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;