]> 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:36:17 +0000 (20:36 +1100)
lib/dns/tests/rdata_test.c

index 747ef4bb8ca156b94d39149ce47786751488900a..1c866de4a7a8156c7250f26cfd819f030f3095ee 100644 (file)
@@ -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;