Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package bctoolbox for openSUSE:Factory 
checked in at 2023-06-28 21:33:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bctoolbox (Old)
 and      /work/SRC/openSUSE:Factory/.bctoolbox.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bctoolbox"

Wed Jun 28 21:33:25 2023 rev:45 rq:1095730 version:5.2.73

Changes:
--------
--- /work/SRC/openSUSE:Factory/bctoolbox/bctoolbox.changes      2023-05-04 
17:10:44.820425547 +0200
+++ /work/SRC/openSUSE:Factory/.bctoolbox.new.13546/bctoolbox.changes   
2023-06-28 21:33:30.261911282 +0200
@@ -1,0 +2,5 @@
+Wed Jun 28 06:37:03 UTC 2023 - Paolo Stivanin <[email protected]>
+
+- Update to 5.2.73 (no changelog)
+
+-------------------------------------------------------------------

Old:
----
  bctoolbox-5.2.49.tar.bz2

New:
----
  bctoolbox-5.2.73.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bctoolbox.spec ++++++
--- /var/tmp/diff_new_pack.n1XY7f/_old  2023-06-28 21:33:31.509918651 +0200
+++ /var/tmp/diff_new_pack.n1XY7f/_new  2023-06-28 21:33:31.517918698 +0200
@@ -18,7 +18,7 @@
 
 %define sover   1
 Name:           bctoolbox
-Version:        5.2.49
+Version:        5.2.73
 Release:        0
 Summary:        Utility library for software from Belledonne Communications
 License:        GPL-3.0-or-later

++++++ bctoolbox-5.2.49.tar.bz2 -> bctoolbox-5.2.73.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.49/src/crypto/mbedtls.cc 
new/bctoolbox-5.2.73/src/crypto/mbedtls.cc
--- old/bctoolbox-5.2.49/src/crypto/mbedtls.cc  2023-04-06 12:17:19.000000000 
+0200
+++ new/bctoolbox-5.2.73/src/crypto/mbedtls.cc  2023-06-07 12:10:03.000000000 
+0200
@@ -558,21 +558,19 @@
 
 /*** Random Number Generation: C API ***/
 struct bctbx_rng_context_struct {
-       std::unique_ptr<bctoolbox::RNG> m_rng; // encapsulate the RNG in a 
unique_ptr
+       bctoolbox::RNG m_rng;
 };
 
 bctbx_rng_context_t *bctbx_rng_context_new(void) {
        bctbx_rng_context_t *context = new bctbx_rng_context_struct();
-       context->m_rng = std::unique_ptr<bctoolbox::RNG>(new bctoolbox::RNG());
        return context;
 }
 
 int32_t bctbx_rng_get(bctbx_rng_context_t *context, unsigned char*output, 
size_t output_length) {
-       context->m_rng->randomize(output, output_length);
+       context->m_rng.randomize(output, output_length);
        return 0; // always return 0, in case of problem an exception is raised 
by randomize
 }
 
 void bctbx_rng_context_free(bctbx_rng_context_t *context) {
-       context->m_rng=nullptr; // destroy the RNG
-       delete(context);
+       delete context;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.49/src/tester.c 
new/bctoolbox-5.2.73/src/tester.c
--- old/bctoolbox-5.2.49/src/tester.c   2023-04-06 12:17:19.000000000 +0200
+++ new/bctoolbox-5.2.73/src/tester.c   2023-06-07 12:10:03.000000000 +0200
@@ -143,7 +143,7 @@
        process_events = func;
 }
 
-void bc_tester_process_events(){
+void bc_tester_process_events(void){
        if( process_events)
                process_events();
 }
@@ -576,7 +576,7 @@
                offset = bctbx_file_fprintf(bctbx_file, 0, "<?xml 
version=\"1.0\" encoding=\"UTF-8\"?>\n<testsuites>\n");
                for (i = 0; i < nb_test_suites; i++) {
                        if (suite_junit_xml_results[i] != NULL) {
-                               offset += bctbx_file_fprintf(bctbx_file, 
offset, suite_junit_xml_results[i]);
+                               offset += bctbx_file_fprintf(bctbx_file, 
offset, "%s", suite_junit_xml_results[i]);
                                bctbx_free(suite_junit_xml_results[i]);
                        }
                }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bctoolbox-5.2.49/src/utils/exception.cc 
new/bctoolbox-5.2.73/src/utils/exception.cc
--- old/bctoolbox-5.2.49/src/utils/exception.cc 2023-04-06 12:17:19.000000000 
+0200
+++ new/bctoolbox-5.2.73/src/utils/exception.cc 2023-06-07 12:10:03.000000000 
+0200
@@ -62,6 +62,8 @@
 #endif
                set_terminate(uncaught_handler); // invoke in case of uncautch 
exception for this thread
 #endif
+       /* Warn about exception as soon as it is created. Exceptions are not 
usual events. */
+       BCTBX_SLOGW << "BctbxException occurred: " << mOs.str();
 }
 
 BctbxException::BctbxException(const BctbxException &other) : 
mSize(other.mSize) {
@@ -103,7 +105,7 @@
        }
        free(bt);
 #else
-       os << "stack trace not available on this platform";
+       os << "[stack trace not available on this platform]";
 #endif
 }
 

++++++ set_curret_version.patch ++++++
--- /var/tmp/diff_new_pack.n1XY7f/_old  2023-06-28 21:33:32.093922099 +0200
+++ /var/tmp/diff_new_pack.n1XY7f/_new  2023-06-28 21:33:32.141922382 +0200
@@ -5,7 +5,7 @@
  endif()
  
 -project(bctoolbox VERSION 5.2.0)
-+project(bctoolbox VERSION 5.2.49)
++project(bctoolbox VERSION 5.2.73)
  
  set(BCTOOLBOX_VERSION "${PROJECT_VERSION}")
  set(BCTOOLBOX_VERSION_MAJOR ${PROJECT_VERSION_MAJOR})

Reply via email to