Files
poky/meta/recipes-devtools
Dengke Du d16356eb26 subversion: fix "svnadmin create" fail on x86
When run the following command on x86:

        svnadmin create /var/test_repo

It cause segmentation fault error like the following:

        [16499.751837] svnadmin[21117]: segfault at 83 ip 00000000f74bf7f6 sp 00000000ffdd9b34 error 4 in libc-2.24.so[f7441000+1af000]
        Segmentation fault (core dumped)

This is because in source code ./subversion/libsvn_fs_fs/low_level.c,
function svn_fs_fs__unparse_footer, when:

        target arch:    x86
        apr_off_t:      4 bytes

if the "APR_OFF_T_FMT" is "lld", it still use type "apr_off_t" to pass
data to apr, but in apr source code file apr_snprintf.c the function
apr_vformatter meet "lld", it would use the:

        i_quad = va_arg(ap, apr_int64_t);

It uses the apr_int64_t to deal data, it read 8 bytes, so the follow-up
data may be error.

(From OE-Core rev: 7ea7e3db7801b58495b89a95ec2751d618d3a29f)

(From OE-Core rev: 81b9ac05bdb3dc89c6fd17acbfff7cc4f4685108)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-11-16 10:37:58 +00:00
..
2016-09-14 22:22:07 +01:00
2016-09-03 09:58:37 +01:00
2016-07-26 08:56:26 +01:00
2016-02-19 01:01:24 +00:00
2016-06-12 23:47:18 +01:00
2016-07-08 09:57:24 +01:00
2016-09-08 00:32:43 +01:00
2016-10-11 08:27:27 +01:00
2016-08-25 23:03:45 +01:00
2016-08-10 10:46:29 +01:00
2015-12-18 12:18:19 +00:00
2016-07-08 09:57:24 +01:00
2016-05-25 07:50:17 +01:00
2016-07-12 23:10:14 +01:00
2016-08-25 23:03:45 +01:00
2016-07-20 10:28:49 +01:00
2016-06-07 15:22:37 +01:00
2016-09-09 12:12:22 +01:00
2016-09-15 12:15:07 +01:00
2016-06-15 08:35:03 +01:00
2016-11-16 10:37:56 +00:00
2016-06-03 13:13:27 +01:00
2016-07-01 16:22:43 +01:00
2016-08-04 15:22:23 +01:00
2015-12-16 12:12:15 +00:00
2016-09-14 22:22:07 +01:00
2016-11-16 10:37:57 +00:00
2015-06-11 23:59:15 +01:00