]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
use smaller buffers
authorMark Andrews <marka@isc.org>
Sat, 26 Oct 2013 09:36:17 +0000 (20:36 +1100)
committerMark Andrews <marka@isc.org>
Sat, 26 Oct 2013 09:37:04 +0000 (20:37 +1100)
(cherry picked from commit 2502a568e77358ecafd4356dc6eaaaa7ca751be2)

lib/dns/tests/rdata_test.c

index 41891ab48b93a628f337506be4c316b994ca9ad1..02e460b100a8aab29e107986f4c3c5922b9c8d44 100644 (file)
@@ -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;