]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix padding of struct regional for 32bit systems.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 24 Nov 2020 16:06:54 +0000 (17:06 +0100)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 24 Nov 2020 16:06:54 +0000 (17:06 +0100)
doc/Changelog
util/regional.h

index a07b4a37378a7df6e424053d7f31d1d22aa0e0f8..a635698c89d87b5800f68566170cd2ad76814597 100644 (file)
@@ -8,6 +8,7 @@
        - tag for the 1.13.0rc1 release.
        - Fix crash when TLS connection is closed prematurely, when
          reuse tree comparison is not properly identical to insertion.
+       - Fix padding of struct regional for 32bit systems.
 
 23 November 2020: George
        - Merge PR #313 from Ralph Dolmans: Replace edns-client-tag with
index eeb7de7b528acd90ee80bef433fdd29f48183749..b439897d52e0543beb1fd9f0efb290c9b7fd7823 100644 (file)
@@ -76,6 +76,9 @@ struct regional
        char* data;
        /** threshold for outside of chunk allocations */
        size_t large_object_size;
+       /** padding for sizeof8 alignment of sizeof(struct regional)
+        * for 32bit systems */
+       size_t padding;
 };
 
 /**