Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zchunk for openSUSE:Factory checked in at 2023-10-16 22:32:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zchunk (Old) and /work/SRC/openSUSE:Factory/.zchunk.new.20540 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zchunk" Mon Oct 16 22:32:41 2023 rev:21 rq:1117906 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/zchunk/zchunk.changes 2023-06-12 15:24:16.990282335 +0200 +++ /work/SRC/openSUSE:Factory/.zchunk.new.20540/zchunk.changes 2023-10-16 22:32:42.475223314 +0200 @@ -1,0 +2,6 @@ +Sat Oct 14 10:19:38 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.3.2: + * Handle overflow errors in malformed zchunk files + +------------------------------------------------------------------- Old: ---- zchunk-1.3.1.tar.gz New: ---- zchunk-1.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zchunk.spec ++++++ --- /var/tmp/diff_new_pack.Tzg4j1/_old 2023-10-16 22:32:43.355255057 +0200 +++ /var/tmp/diff_new_pack.Tzg4j1/_new 2023-10-16 22:32:43.355255057 +0200 @@ -21,7 +21,7 @@ %global libname libzck%{somajor} %global devname libzck-devel Name: zchunk -Version: 1.3.1 +Version: 1.3.2 Release: 0 Summary: Compressed file format that allows easy deltas License: BSD-2-Clause AND MIT ++++++ zchunk-1.3.1.tar.gz -> zchunk-1.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/autotest/centos-8-stream/prep/Dockerfile new/zchunk-1.3.2/autotest/centos-8-stream/prep/Dockerfile --- old/zchunk-1.3.1/autotest/centos-8-stream/prep/Dockerfile 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/autotest/centos-8-stream/prep/Dockerfile 2023-10-05 20:58:58.000000000 +0200 @@ -1,2 +1,2 @@ -FROM docker.io/tgagor/centos:stream8 +FROM quay.io/centos/centos:stream8 RUN sed -i "s/enabled=0/enabled=1/" /etc/yum.repos.d/CentOS-Stream-PowerTools.repo && dnf -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)" && rm -rf /var/cache/yum diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/autotest/centos-8-stream/prep.sh new/zchunk-1.3.2/autotest/centos-8-stream/prep.sh --- old/zchunk-1.3.1/autotest/centos-8-stream/prep.sh 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/autotest/centos-8-stream/prep.sh 2023-10-05 20:58:58.000000000 +0200 @@ -1,5 +1,5 @@ #!/bin/bash -docker pull docker.io/tgagor/centos:stream8 +docker pull quay.io/centos/centos:stream8 if [ "$?" -ne 0 ]; then exit 1 fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/autotest/centos-9-stream/prep/Dockerfile new/zchunk-1.3.2/autotest/centos-9-stream/prep/Dockerfile --- old/zchunk-1.3.1/autotest/centos-9-stream/prep/Dockerfile 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/autotest/centos-9-stream/prep/Dockerfile 2023-10-05 20:58:58.000000000 +0200 @@ -1,2 +1,2 @@ -FROM docker.io/tgagor/centos:stream9 +FROM quay.io/centos/centos:stream9 RUN dnf -y install "dnf-command(config-manager)" && dnf -y config-manager --set-enabled crb && dnf -y install meson gcc "pkgconfig(libzstd)" "pkgconfig(libcurl)" "pkgconfig(openssl)" && rm -rf /var/cache/yum diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/autotest/centos-9-stream/prep.sh new/zchunk-1.3.2/autotest/centos-9-stream/prep.sh --- old/zchunk-1.3.1/autotest/centos-9-stream/prep.sh 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/autotest/centos-9-stream/prep.sh 2023-10-05 20:58:58.000000000 +0200 @@ -1,5 +1,5 @@ #!/bin/bash -docker pull docker.io/tgagor/centos:stream9 +docker pull quay.io/centos/centos:stream9 if [ "$?" -ne 0 ]; then exit 1 fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/meson.build new/zchunk-1.3.2/meson.build --- old/zchunk-1.3.1/meson.build 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/meson.build 2023-10-05 20:58:58.000000000 +0200 @@ -1,6 +1,6 @@ project( 'zck', 'c', - version : '1.3.1', + version : '1.3.2', meson_version : '>=0.53.0', default_options : ['c_std=gnu99'] ) @@ -14,7 +14,7 @@ cc = meson.get_compiler('c') add_project_arguments(cc.get_supported_arguments(common_cflags), language : 'c') -if build_machine.system() == 'freebsd' +if build_machine.system() == 'freebsd' or build_machine.system() == 'midnightbsd' add_project_arguments('-DFREEBSD', language : 'c') endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/src/lib/comp/comp.c new/zchunk-1.3.2/src/lib/comp/comp.c --- old/zchunk-1.3.1/src/lib/comp/comp.c 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/src/lib/comp/comp.c 2023-10-05 20:58:58.000000000 +0200 @@ -115,6 +115,12 @@ ALLOCD_BOOL(zck, comp); ALLOCD_BOOL(zck, src); + if((comp->data_size > comp->data_size + src_size) || + (src_size > comp->data_size + src_size)) { + zck_log(ZCK_LOG_ERROR, "Integer overflow when reading data"); + return false; + } + comp->data = zrealloc(comp->data, comp->data_size + src_size); if (!comp->data) { zck_log(ZCK_LOG_ERROR, "OOM in %s", __func__); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/src/lib/comp/zstd/zstd.c new/zchunk-1.3.2/src/lib/comp/zstd/zstd.c --- old/zchunk-1.3.1/src/lib/comp/zstd/zstd.c 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/src/lib/comp/zstd/zstd.c 2023-10-05 20:58:58.000000000 +0200 @@ -117,6 +117,12 @@ ALLOCD_INT(zck, dst_size); ALLOCD_INT(zck, comp); + if((comp->dc_data_size > comp->dc_data_size + src_size) || + (src_size > comp->dc_data_size + src_size)) { + zck_log(ZCK_LOG_ERROR, "Integer overflow when reading decompressed data"); + return false; + } + comp->dc_data = zrealloc(comp->dc_data, comp->dc_data_size + src_size); if (!comp->dc_data) { zck_log(ZCK_LOG_ERROR, "OOM in %s", __func__); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/src/lib/dl/multipart.c new/zchunk-1.3.2/src/lib/dl/multipart.c --- old/zchunk-1.3.1/src/lib/dl/multipart.c 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/src/lib/dl/multipart.c 2023-10-05 20:58:58.000000000 +0200 @@ -119,6 +119,12 @@ /* Add new data to stored buffer */ if(mp->buffer) { + if((mp->buffer_len > mp->buffer_len + l) || + (l > mp->buffer_len + l)) { + zck_log(ZCK_LOG_ERROR, "Integer overflow when extracting multipart data"); + return 0; + } + buf = zrealloc(mp->buffer, mp->buffer_len + l); if (!buf) { zck_log(ZCK_LOG_ERROR, "OOM in %s", __func__); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/src/lib/header.c new/zchunk-1.3.2/src/lib/header.c --- old/zchunk-1.3.1/src/lib/header.c 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/src/lib/header.c 2023-10-05 20:58:58.000000000 +0200 @@ -74,11 +74,16 @@ } static bool read_header_from_file(zckCtx *zck) { - /* Verify that lead_size and header_length have been set */ + /* Verify that lead_size and header_length have been set and are legit */ if(zck->lead_size == 0 || zck->header_length == 0) { set_error(zck, "Lead and header sizes are both 0. Have you run zck_read_lead() yet?"); return false; } + if((zck->lead_size > zck->lead_size + zck->header_length) || + (zck->header_length > zck->lead_size + zck->header_length)) { + zck_log(ZCK_LOG_ERROR, "Integer overflow when reading header"); + return false; + } /* Allocate header and store any extra bytes at beginning of header */ zck->header = zrealloc(zck->header, zck->lead_size + zck->header_length); @@ -533,6 +538,12 @@ /* Set header digest location */ zck->hdr_digest_loc = length; + /* Verify that we're not going to overflow */ + if(length > length + zck->hash_type.digest_size) { + zck_log(ZCK_LOG_ERROR, "Integer overflow when reading lead"); + return false; + } + /* Read header digest */ zck_log(ZCK_LOG_DEBUG, "Reading header digest"); header = zrealloc(header, length + zck->hash_type.digest_size); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/src/unzck.c new/zchunk-1.3.2/src/unzck.c --- old/zchunk-1.3.1/src/unzck.c 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/src/unzck.c 2023-10-05 20:58:58.000000000 +0200 @@ -131,14 +131,6 @@ zck_set_log_level(arguments.log_level); - if(!arguments.std_out) { - if(strlen(arguments.args[0]) < 5 || - (strcmp(arguments.args[0] + strlen(arguments.args[0]) - 4, ".zck") != 0 && - strcmp(arguments.args[0] + strlen(arguments.args[0]) - 4, ".zhr") != 0)) { - LOG_ERROR("Not a *.zck or *.zhr file: %s\n", arguments.args[0]); - exit(1); - } - } int src_fd = open(arguments.args[0], O_RDONLY | O_BINARY); if(src_fd < 0) { LOG_ERROR("Unable to open %s\n", arguments.args[0]); @@ -146,19 +138,23 @@ exit(1); } char *base_name = basename(arguments.args[0]); + if(strlen(base_name) > 4 && strncmp(base_name + strlen(base_name)-4, ".zck", 4) == 0) { + base_name[strlen(base_name)-4] = '\0'; + } + printf("%s\n", base_name); char *out_name = NULL; if(arguments.dict) - out_name = calloc(strlen(base_name) + 3, 1); // len .zck -> .zdict = +2 + out_name = calloc(strlen(base_name) + 7, 1); // add .zdict suffix else if(arguments.header) - out_name = calloc(strlen(base_name), 1); // .zck -> zhr + out_name = calloc(strlen(base_name) + 5, 1); // add .zhr suffix else - out_name = calloc(strlen(base_name) - 2, 1); // strip .zck + out_name = calloc(strlen(base_name) + 1, 1); // strip .zck assert(out_name); - snprintf(out_name, strlen(base_name) - 3, "%s", base_name); //Strip off .zck + strncpy(out_name, base_name, strlen(base_name)); if(arguments.dict) - snprintf(out_name + strlen(base_name) - 4, 7, ".zdict"); + snprintf(out_name + strlen(base_name), 7, ".zdict"); else if(arguments.header) - snprintf(out_name + strlen(base_name) - 4, 5, ".zhr"); + snprintf(out_name + strlen(base_name), 5, ".zhr"); #ifdef _WIN32 int dst_fd = _fileno(stdout); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/test/compat_reports/zchunk/1.3.0_to_1.3.1/compat_report.html new/zchunk-1.3.2/test/compat_reports/zchunk/1.3.0_to_1.3.1/compat_report.html --- old/zchunk-1.3.1/test/compat_reports/zchunk/1.3.0_to_1.3.1/compat_report.html 2023-04-04 22:16:55.000000000 +0200 +++ new/zchunk-1.3.2/test/compat_reports/zchunk/1.3.0_to_1.3.1/compat_report.html 1970-01-01 01:00:00.000000000 +0100 @@ -1,475 +0,0 @@ -<!-- kind:binary;verdict:compatible;affected:0;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:0;tool_version:2.3 --> -<!-- kind:source;verdict:compatible;affected:0;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:0;tool_version:2.3 --> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="viewport" content="width=device-width,initial-scale=1" /> -<meta name="keywords" content="zchunk, compatibility, API, ABI, report" /> -<meta name="description" content="API/ABI compatibility report for the zchunk object between 1.3.0 and 1.3.1 versions" /> -<meta name="robots" content="noindex" /> -<title>zchunk: 1.3.0 to 1.3.1 compatibility report</title> -<style type="text/css"> -body { - font-family:Arial, sans-serif; - background-color:White; - color:Black; -} -hr { - color:Black; - background-color:Black; - height:1px; - border:0; -} -h1 { - margin-bottom:0px; - padding-bottom:0px; - font-size:1.625em; -} -h2 { - margin-bottom:0px; - padding-bottom:0px; - font-size:1.25em; - white-space:nowrap; -} -span.section { - font-weight:bold; - cursor:pointer; - color:#003E69; - white-space:nowrap; - margin-left:0.3125em; -} -span.new_sign { - font-weight:bold; - margin-left:1.65em; - color:#003E69; -} -span.new_sign_lbl { - margin-left:3em; - font-size:1em; - color:Black; -} -span:hover.section { - color:#336699; -} -span.sect_aff { - cursor:pointer; - padding-left:1.55em; - font-size:0.875em; - color:#cc3300; -} -span.sect_info { - cursor:pointer; - padding-left:1.55em; - font-size:0.875em; - color:Black; -} -span.ext { - font-weight:normal; -} -span.h_name { - color:#cc3300; - font-size:0.875em; - font-weight:bold; -} -div.h_list, div.lib_list { - font-size:0.94em; - padding-left:0.4em; -} -span.ns { - color:#408080; - font-size:0.94em; -} -span.lib_name { - color:Green; - font-size:0.875em; - font-weight:bold; -} -span.iname { - font-weight:bold; - color:#003E69; - margin-left:0.3125em; -} -span.iname_b { - font-weight:bold; -} -span.iname_a { - color:#333333; - font-weight:bold; - font-size:0.94em; -} -span.sym_p { - font-weight:normal; - white-space:normal; -} -span.sym_pd { - white-space:normal; -} -span.sym_p span, span.sym_pd span { - white-space:nowrap; -} -div.affect { - padding-left:1em; - padding-bottom:10px; - font-size:0.87em; - font-style:italic; - line-height:0.9em; -} -div.affected { - padding-left:1.9em; - padding-top:10px; -} -table.ptable { - border-collapse:collapse; - border:1px outset black; - margin-left:0.95em; - margin-top:3px; - margin-bottom:3px; - width:56.25em; -} -table.ptable td { - border:1px solid gray; - padding:3px; - font-size:0.875em; - text-align:left; - vertical-align:top; - max-width:28em; - word-wrap:break-word; -} -table.ptable th.pn { - width:2%; -} -table.ptable th.chg { - width:47%; -} -table.vtable { - border-collapse:collapse; - border:1px outset black; - margin-left:1.9em; - margin-top:0.7em; -} -table.vtable td { - border:1px solid gray; - padding:3px; - font-size:0.875em; - vertical-align:top; - max-width:450px; - word-wrap:break-word; -} -table.ptable th, table.vtable th { - background-color:#eeeeee; - font-weight:bold; - color:#333333; - font-family:Verdana, Arial; - font-size:0.875em; - border:1px solid gray; - text-align:center; - vertical-align:top; - white-space:nowrap; - padding:3px; -} -table.summary { - border-collapse:collapse; - border:1px outset black; -} -table.summary th { - background-color:#eeeeee; - font-weight:normal; - text-align:left; - font-size:0.94em; - white-space:nowrap; - border:1px inset gray; - padding:3px; -} -table.summary td { - text-align:right; - white-space:nowrap; - border:1px inset gray; - padding:3px 5px 3px 10px; -} -span.mngl { - padding-left:1em; - font-size:0.875em; - cursor:text; - color:#444444; - font-weight:bold; -} -span.pleft { - padding-left:2.5em; -} -span.sym_ver { - color:#333333; - white-space:nowrap; - font-family:"DejaVu Sans Mono", Monospace; -} -span.attr { - color:#333333; - font-weight:normal; -} -span.color_p { - font-style:italic; - color:Brown; -} -span.p { - font-style:italic; -} -span.fp { - font-style:italic; - background-color:#DCDCDC; -} -span.ttype { - font-weight:normal; -} -span.nowrap { - white-space:nowrap; -} -span.value { - font-weight:bold; -} -.passed { - background-color:#CCFFCC; - font-weight:normal; -} -.warning { - background-color:#F4F4AF; - font-weight:normal; -} -.failed { - background-color:#FFCCCC; - font-weight:normal; -} -.new { - background-color:#C6DEFF; - font-weight:normal; -} -.compatible { - background-color:#CCFFCC; - font-weight:normal; -} -.almost_compatible { - background-color:#FFDAA3; - font-weight:normal; -} -.incompatible { - background-color:#FFCCCC; - font-weight:normal; -} -.gray { - background-color:#DCDCDC; - font-weight:normal; -} -.top_ref { - font-size:0.69em; -} -.footer { - font-size:0.75em; -} - -.tabset { - float:left; -} -a.tab { - border:1px solid Black; - float:left; - margin:0px 5px -1px 0px; - padding:3px 5px 3px 5px; - position:relative; - font-size:0.875em; - background-color:#DDD; - text-decoration:none; - color:Black; -} -a.disabled:hover -{ - color:Black; - background:#EEE; -} -a.active:hover -{ - color:Black; - background:White; -} -a.active { - border-bottom-color:White; - background-color:White; -} -div.tab { - border-top:1px solid Black; - padding:0px; - width:100%; - clear:both; -} -</style> -<script type="text/javascript" language="JavaScript"> -<!-- -function showContent(header, id) -{ - e = document.getElementById(id); - if(e.style.display == 'none') - { - e.style.display = 'block'; - e.style.visibility = 'visible'; - header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[−]"); - } - else - { - e.style.display = 'none'; - e.style.visibility = 'hidden'; - header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]"); - } -} -function initTabs() -{ - var url = window.location.href; - if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1) - { - var tab1 = document.getElementById('BinaryID'); - var tab2 = document.getElementById('SourceID'); - tab1.className='tab disabled'; - tab2.className='tab active'; - } - var sets = document.getElementsByTagName('div'); - for (var i = 0; i < sets.length; i++) - { - if (sets[i].className.indexOf('tabset') != -1) - { - var tabs = []; - var links = sets[i].getElementsByTagName('a'); - for (var j = 0; j < links.length; j++) - { - if (links[j].className.indexOf('tab') != -1) - { - tabs.push(links[j]); - links[j].tabs = tabs; - var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1)); - //reset all tabs on start - if (tab) - { - if (links[j].className.indexOf('active')!=-1) { - tab.style.display = 'block'; - } - else { - tab.style.display = 'none'; - } - } - links[j].onclick = function() - { - var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1)); - if (tab) - { - //reset all tabs before change - for (var k = 0; k < this.tabs.length; k++) - { - document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none'; - this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled'); - } - this.className = 'tab active'; - tab.style.display = 'block'; - // window.location.hash = this.id.replace('ID', ''); - return false; - } - } - } - } - } - } - if(url.indexOf('#')!=-1) { - location.href=location.href; - } -} -if (window.addEventListener) window.addEventListener('load', initTabs, false); -else if (window.attachEvent) window.attachEvent('onload', initTabs); ---> -</script> -</head> -<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>libzck.so</span> object between <span style='color:Red;'>1.3.0</span> and <span style='color:Red;'>1.3.1</span> versions on <span style='color:Blue;'>x86_64</span></h1> - - <br/> - <div class='tabset'> - <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a> - <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a> - </div><div id='BinaryTab' class='tab'> -<h2>Test Info</h2><hr/> -<table class='summary'> -<tr><th>Module Name</th><td>zchunk</td></tr> -<tr><th>Version #1</th><td>1.3.0</td></tr> -<tr><th>Version #2</th><td>1.3.1</td></tr> -<tr><th>Arch</th><td>x86_64</td></tr> -<tr><th>GCC Version</th><td>12.2.1</td></tr> -<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr> -</table> -<h2>Test Results</h2><hr/> -<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> -<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> -<tr><th>Total Symbols / Types</th><td>82 / 17</td></tr> -<tr><th>Compatibility</th> -<td class='compatible'>100%</td> -</tr> -</table> -<h2>Problem Summary</h2><hr/> -<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr> -<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> -<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> -<tr><td>Medium</td><td>0</td></tr> -<tr><td>Low</td><td>0</td></tr> -<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> -<tr><td>Medium</td><td>0</td></tr> -<tr><td>Low</td><td>0</td></tr> -<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr> -</table> - -<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> -<div class='h_list'> -zck.h<br/> -</div> -<br/><a class='top_ref' href='#Top'>to the top</a><br/> -<a name='Libs'></a><h2>Objects <span class='gray'> 1 </span></h2><hr/> -<div class='lib_list'> -libzck.so.1.3.0<br/> -</div> -<br/><a class='top_ref' href='#Top'>to the top</a><br/> -<br/><br/><br/></div><div id='SourceTab' class='tab'> -<h2>Test Info</h2><hr/> -<table class='summary'> -<tr><th>Module Name</th><td>zchunk</td></tr> -<tr><th>Version #1</th><td>1.3.0</td></tr> -<tr><th>Version #2</th><td>1.3.1</td></tr> -<tr><th>Arch</th><td>x86_64</td></tr> -<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr> -</table> -<h2>Test Results</h2><hr/> -<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> -<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> -<tr><th>Total Symbols / Types</th><td>82 / 17</td></tr> -<tr><th>Compatibility</th> -<td class='compatible'>100%</td> -</tr> -</table> -<h2>Problem Summary</h2><hr/> -<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr> -<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> -<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> -<tr><td>Medium</td><td>0</td></tr> -<tr><td>Low</td><td>0</td></tr> -<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> -<tr><td>Medium</td><td>0</td></tr> -<tr><td>Low</td><td>0</td></tr> -<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr> -</table> - -<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> -<div class='h_list'> -zck.h<br/> -</div> -<br/><a class='top_ref' href='#Top'>to the top</a><br/> -<a name='Libs'></a><h2>Objects <span class='gray'> 1 </span></h2><hr/> -<div class='lib_list'> -libzck.so.1.3.0<br/> -</div> -<br/><a class='top_ref' href='#Top'>to the top</a><br/> -<br/><br/><br/></div><hr/> -<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3  </i> -</div> -<br/> - -</body></html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zchunk-1.3.1/test/compat_reports/zchunk/1.3.1_to_1.3.2/compat_report.html new/zchunk-1.3.2/test/compat_reports/zchunk/1.3.1_to_1.3.2/compat_report.html --- old/zchunk-1.3.1/test/compat_reports/zchunk/1.3.1_to_1.3.2/compat_report.html 1970-01-01 01:00:00.000000000 +0100 +++ new/zchunk-1.3.2/test/compat_reports/zchunk/1.3.1_to_1.3.2/compat_report.html 2023-10-05 20:58:58.000000000 +0200 @@ -0,0 +1,474 @@ +<!-- kind:binary;verdict:compatible;affected:0;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:0;tool_version:2.3 --> +<!-- kind:source;verdict:compatible;affected:0;added:0;removed:0;type_problems_high:0;type_problems_medium:0;type_problems_low:0;interface_problems_high:0;interface_problems_medium:0;interface_problems_low:0;changed_constants:0;tool_version:2.3 --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="viewport" content="width=device-width,initial-scale=1" /> +<meta name="keywords" content="zchunk, compatibility, API, ABI, report" /> +<meta name="description" content="API/ABI compatibility report for the zchunk object between 1.3.1 and 1.3.2 versions" /> +<meta name="robots" content="noindex" /> +<title>zchunk: 1.3.1 to 1.3.2 compatibility report</title> +<style type="text/css"> +body { + font-family:Arial, sans-serif; + background-color:White; + color:Black; +} +hr { + color:Black; + background-color:Black; + height:1px; + border:0; +} +h1 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.625em; +} +h2 { + margin-bottom:0px; + padding-bottom:0px; + font-size:1.25em; + white-space:nowrap; +} +span.section { + font-weight:bold; + cursor:pointer; + color:#003E69; + white-space:nowrap; + margin-left:0.3125em; +} +span.new_sign { + font-weight:bold; + margin-left:1.65em; + color:#003E69; +} +span.new_sign_lbl { + margin-left:3em; + font-size:1em; + color:Black; +} +span:hover.section { + color:#336699; +} +span.sect_aff { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:#cc3300; +} +span.sect_info { + cursor:pointer; + padding-left:1.55em; + font-size:0.875em; + color:Black; +} +span.ext { + font-weight:normal; +} +span.h_name { + color:#cc3300; + font-size:0.875em; + font-weight:bold; +} +div.h_list, div.lib_list { + font-size:0.94em; + padding-left:0.4em; +} +span.ns { + color:#408080; + font-size:0.94em; +} +span.lib_name { + color:Green; + font-size:0.875em; + font-weight:bold; +} +span.iname { + font-weight:bold; + color:#003E69; + margin-left:0.3125em; +} +span.iname_b { + font-weight:bold; +} +span.iname_a { + color:#333333; + font-weight:bold; + font-size:0.94em; +} +span.sym_p { + font-weight:normal; + white-space:normal; +} +span.sym_pd { + white-space:normal; +} +span.sym_p span, span.sym_pd span { + white-space:nowrap; +} +div.affect { + padding-left:1em; + padding-bottom:10px; + font-size:0.87em; + font-style:italic; + line-height:0.9em; +} +div.affected { + padding-left:1.9em; + padding-top:10px; +} +table.ptable { + border-collapse:collapse; + border:1px outset black; + margin-left:0.95em; + margin-top:3px; + margin-bottom:3px; + width:56.25em; +} +table.ptable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + text-align:left; + vertical-align:top; + max-width:28em; + word-wrap:break-word; +} +table.ptable th.pn { + width:2%; +} +table.ptable th.chg { + width:47%; +} +table.vtable { + border-collapse:collapse; + border:1px outset black; + margin-left:1.9em; + margin-top:0.7em; +} +table.vtable td { + border:1px solid gray; + padding:3px; + font-size:0.875em; + vertical-align:top; + max-width:450px; + word-wrap:break-word; +} +table.ptable th, table.vtable th { + background-color:#eeeeee; + font-weight:bold; + color:#333333; + font-family:Verdana, Arial; + font-size:0.875em; + border:1px solid gray; + text-align:center; + vertical-align:top; + white-space:nowrap; + padding:3px; +} +table.summary { + border-collapse:collapse; + border:1px outset black; +} +table.summary th { + background-color:#eeeeee; + font-weight:normal; + text-align:left; + font-size:0.94em; + white-space:nowrap; + border:1px inset gray; + padding:3px; +} +table.summary td { + text-align:right; + white-space:nowrap; + border:1px inset gray; + padding:3px 5px 3px 10px; +} +span.mngl { + padding-left:1em; + font-size:0.875em; + cursor:text; + color:#444444; + font-weight:bold; +} +span.pleft { + padding-left:2.5em; +} +span.sym_ver { + color:#333333; + white-space:nowrap; + font-family:"DejaVu Sans Mono", Monospace; +} +span.attr { + color:#333333; + font-weight:normal; +} +span.color_p { + font-style:italic; + color:Brown; +} +span.p { + font-style:italic; +} +span.fp { + font-style:italic; + background-color:#DCDCDC; +} +span.ttype { + font-weight:normal; +} +span.nowrap { + white-space:nowrap; +} +span.value { + font-weight:bold; +} +.passed { + background-color:#CCFFCC; + font-weight:normal; +} +.warning { + background-color:#F4F4AF; + font-weight:normal; +} +.failed { + background-color:#FFCCCC; + font-weight:normal; +} +.new { + background-color:#C6DEFF; + font-weight:normal; +} +.compatible { + background-color:#CCFFCC; + font-weight:normal; +} +.almost_compatible { + background-color:#FFDAA3; + font-weight:normal; +} +.incompatible { + background-color:#FFCCCC; + font-weight:normal; +} +.gray { + background-color:#DCDCDC; + font-weight:normal; +} +.top_ref { + font-size:0.69em; +} +.footer { + font-size:0.75em; +} + +.tabset { + float:left; +} +a.tab { + border:1px solid Black; + float:left; + margin:0px 5px -1px 0px; + padding:3px 5px 3px 5px; + position:relative; + font-size:0.875em; + background-color:#DDD; + text-decoration:none; + color:Black; +} +a.disabled:hover +{ + color:Black; + background:#EEE; +} +a.active:hover +{ + color:Black; + background:White; +} +a.active { + border-bottom-color:White; + background-color:White; +} +div.tab { + border-top:1px solid Black; + padding:0px; + width:100%; + clear:both; +} +</style> +<script type="text/javascript" language="JavaScript"> +<!-- +function showContent(header, id) +{ + e = document.getElementById(id); + if(e.style.display == 'none') + { + e.style.display = 'block'; + e.style.visibility = 'visible'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[−]"); + } + else + { + e.style.display = 'none'; + e.style.visibility = 'hidden'; + header.innerHTML = header.innerHTML.replace(/\[[^0-9 ]\]/gi,"[+]"); + } +} +function initTabs() +{ + var url = window.location.href; + if(url.indexOf('_Source_')!=-1 || url.indexOf('#Source')!=-1) + { + var tab1 = document.getElementById('BinaryID'); + var tab2 = document.getElementById('SourceID'); + tab1.className='tab disabled'; + tab2.className='tab active'; + } + var sets = document.getElementsByTagName('div'); + for (var i = 0; i < sets.length; i++) + { + if (sets[i].className.indexOf('tabset') != -1) + { + var tabs = []; + var links = sets[i].getElementsByTagName('a'); + for (var j = 0; j < links.length; j++) + { + if (links[j].className.indexOf('tab') != -1) + { + tabs.push(links[j]); + links[j].tabs = tabs; + var tab = document.getElementById(links[j].href.substr(links[j].href.indexOf('#') + 1)); + //reset all tabs on start + if (tab) + { + if (links[j].className.indexOf('active')!=-1) { + tab.style.display = 'block'; + } + else { + tab.style.display = 'none'; + } + } + links[j].onclick = function() + { + var tab = document.getElementById(this.href.substr(this.href.indexOf('#') + 1)); + if (tab) + { + //reset all tabs before change + for (var k = 0; k < this.tabs.length; k++) + { + document.getElementById(this.tabs[k].href.substr(this.tabs[k].href.indexOf('#') + 1)).style.display = 'none'; + this.tabs[k].className = this.tabs[k].className.replace('active', 'disabled'); + } + this.className = 'tab active'; + tab.style.display = 'block'; + // window.location.hash = this.id.replace('ID', ''); + return false; + } + } + } + } + } + } + if(url.indexOf('#')!=-1) { + location.href=location.href; + } +} +if (window.addEventListener) window.addEventListener('load', initTabs, false); +else if (window.attachEvent) window.attachEvent('onload', initTabs); +--> +</script> +</head> +<body><a name='Source'></a><a name='Binary'></a><a name='Top'></a><h1>API compatibility report for the <span style='color:Blue;'>libzck.so</span> object between <span style='color:Red;'>1.3.1</span> and <span style='color:Red;'>1.3.2</span> versions on <span style='color:Blue;'>x86_64</span></h1> + + <br/> + <div class='tabset'> + <a id='BinaryID' href='#BinaryTab' class='tab active'>Binary<br/>Compatibility</a> + <a id='SourceID' href='#SourceTab' style='margin-left:3px' class='tab disabled'>Source<br/>Compatibility</a> + </div><div id='BinaryTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Module Name</th><td>zchunk</td></tr> +<tr><th>Version #1</th><td>1.3.1 (gcc 12.2.1)</td></tr> +<tr><th>Version #2</th><td>1.3.2 (gcc 13.2.1)</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>Subject</th><td width='150px'>Binary Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>82 / 17</td></tr> +<tr><th>Compatibility</th> +<td class='compatible'>100%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr> +</table> + +<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> +<div class='h_list'> +zck.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Objects <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libzck.so.1.3.1<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><div id='SourceTab' class='tab'> +<h2>Test Info</h2><hr/> +<table class='summary'> +<tr><th>Module Name</th><td>zchunk</td></tr> +<tr><th>Version #1</th><td>1.3.1</td></tr> +<tr><th>Version #2</th><td>1.3.2</td></tr> +<tr><th>Arch</th><td>x86_64</td></tr> +<tr><th>Subject</th><td width='150px'>Source Compatibility</td></tr> +</table> +<h2>Test Results</h2><hr/> +<table class='summary'><tr><th>Total Header Files</th><td><a href='#Headers' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Objects</th><td><a href='#Libs' style='color:Blue;'>1</a></td></tr> +<tr><th>Total Symbols / Types</th><td>82 / 17</td></tr> +<tr><th>Compatibility</th> +<td class='compatible'>100%</td> +</tr> +</table> +<h2>Problem Summary</h2><hr/> +<table class='summary'><tr><th></th><th style='text-align:center;'>Severity</th><th style='text-align:center;'>Count</th></tr><tr><th>Added Symbols</th><td>-</td><td>0</td></tr> +<tr><th>Removed Symbols</th><td>High</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Data Types</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th rowspan='3'>Problems with<br/>Symbols</th><td>High</td><td>0</td></tr> +<tr><td>Medium</td><td>0</td></tr> +<tr><td>Low</td><td>0</td></tr> +<tr><th>Problems with<br/>Constants</th><td>Low</td><td>0</td></tr> +</table> + +<a name='Headers'></a><h2>Header Files <span class='gray'> 1 </span></h2><hr/> +<div class='h_list'> +zck.h<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<a name='Libs'></a><h2>Objects <span class='gray'> 1 </span></h2><hr/> +<div class='lib_list'> +libzck.so.1.3.1<br/> +</div> +<br/><a class='top_ref' href='#Top'>to the top</a><br/> +<br/><br/><br/></div><hr/> +<div class='footer' align='right'><i>Generated by <a href='https://github.com/lvc/abi-compliance-checker'>ABI Compliance Checker</a> 2.3  </i> +</div> +<br/> + +</body></html>