Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package omniORB for openSUSE:Factory checked in at 2024-08-07 06:10:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/omniORB (Old) and /work/SRC/openSUSE:Factory/.omniORB.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "omniORB" Wed Aug 7 06:10:39 2024 rev:6 rq:1191841 version:4.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/omniORB/omniORB.changes 2024-01-03 12:28:59.072235497 +0100 +++ /work/SRC/openSUSE:Factory/.omniORB.new.7232/omniORB.changes 2024-08-07 06:11:08.748173163 +0200 @@ -1,0 +2,8 @@ +Tue Jun 18 07:36:28 UTC 2024 - ming li <mli@suse.com> + +- update to 4.3.2: + * Fixed two cases of crashes due to invalid GIOP sent by + buggy or malicious clients. + * Other minor bug fixes. + +------------------------------------------------------------------- Old: ---- omniORB-4.3.1.tar.bz2 New: ---- omniORB-4.3.2.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ omniORB.spec ++++++ --- /var/tmp/diff_new_pack.Dtkc3w/_old 2024-08-07 06:11:09.584207741 +0200 +++ /var/tmp/diff_new_pack.Dtkc3w/_new 2024-08-07 06:11:09.588207906 +0200 @@ -1,7 +1,7 @@ # # spec file for package omniORB # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # Copyright (c) 2012-2017 Lars Vogdt # # All modifications and additions to the file contributed by third parties @@ -24,7 +24,7 @@ Summary: A robust high performance CORBA ORB for C++ and Python License: GPL-2.0-or-later AND LGPL-2.1-or-later Group: System/Libraries -Version: 4.3.1 +Version: 4.3.2 Release: 0 URL: https://omniorb.sourceforge.io Source0: https://downloads.sourceforge.net/project/omniorb/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2 ++++++ omniORB-4.3.1.tar.bz2 -> omniORB-4.3.2.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/README.FIRST.txt new/omniORB-4.3.2/README.FIRST.txt --- old/omniORB-4.3.1/README.FIRST.txt 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/README.FIRST.txt 2024-01-15 15:03:08.000000000 +0100 @@ -1,6 +1,6 @@ READ ME FIRST! -This is omniORB 4.3.1 +This is omniORB 4.3.2 omniORB is copyright Apasphere Ltd, AT&T Laboratories Cambridge and others. It is free software. The programs in omniORB are distributed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/ReleaseNotes.txt new/omniORB-4.3.2/ReleaseNotes.txt --- old/omniORB-4.3.1/ReleaseNotes.txt 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/ReleaseNotes.txt 2024-01-15 15:03:08.000000000 +0100 @@ -1,12 +1,24 @@ RELEASE NOTES ============= -This is omniORB 4.3.1 +This is omniORB 4.3.2 See README.unix.txt or README.win32.txt for building instructions. See the documentation in the doc directory for more information. +Changes since omniORB 4.3.1 +--------------------------- + +omniORB 4.3.2 is mainly a bugfix release. See update.log for full +details of changes. Highlights include: + + - Fixed two cases of crashes due to invalid GIOP sent by buggy or + malicious clients. + + - Other minor bug fixes. + + Changes since omniORB 4.3.0 --------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/THIS_IS_OMNIORB_4_3_1 new/omniORB-4.3.2/THIS_IS_OMNIORB_4_3_1 --- old/omniORB-4.3.1/THIS_IS_OMNIORB_4_3_1 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/THIS_IS_OMNIORB_4_3_1 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/THIS_IS_OMNIORB_4_3_2 new/omniORB-4.3.2/THIS_IS_OMNIORB_4_3_2 --- old/omniORB-4.3.1/THIS_IS_OMNIORB_4_3_2 1970-01-01 01:00:00.000000000 +0100 +++ new/omniORB-4.3.2/THIS_IS_OMNIORB_4_3_2 2024-01-15 15:03:08.000000000 +0100 @@ -0,0 +1 @@ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/configure new/omniORB-4.3.2/configure --- old/omniORB-4.3.1/configure 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/configure 2024-01-15 15:03:08.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for omniORB 4.3.1. +# Generated by GNU Autoconf 2.71 for omniORB 4.3.2. # # Report bugs to <bugs@omniorb-support.com>. # @@ -611,8 +611,8 @@ # Identity of this package. PACKAGE_NAME='omniORB' PACKAGE_TARNAME='omniorb' -PACKAGE_VERSION='4.3.1' -PACKAGE_STRING='omniORB 4.3.1' +PACKAGE_VERSION='4.3.2' +PACKAGE_STRING='omniORB 4.3.2' PACKAGE_BUGREPORT='bugs@omniorb-support.com' PACKAGE_URL='' @@ -1334,7 +1334,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures omniORB 4.3.1 to adapt to many kinds of systems. +\`configure' configures omniORB 4.3.2 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1400,7 +1400,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of omniORB 4.3.1:";; + short | recursive ) echo "Configuration of omniORB 4.3.2:";; esac cat <<\_ACEOF @@ -1524,7 +1524,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -omniORB configure 4.3.1 +omniORB configure 4.3.2 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -2315,7 +2315,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by omniORB $as_me 4.3.1, which was +It was created by omniORB $as_me 4.3.2, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -8530,31 +8530,39 @@ os_v="0" case "$host" in - *-*-linux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; - *-*-uclinux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; - *-*-cygwin*) plat_name="Cygwin"; plat_def="__cygwin__"; os_v="1";; - *-*-solaris*) plat_name="SunOS"; plat_def="__sunos__"; os_v="5";; - *-*-osf3*) plat_name="OSF1"; plat_def="__osf1__"; os_v="3";; - *-*-osf4*) plat_name="OSF1"; plat_def="__osf1__"; os_v="4";; - *-*-osf5*) plat_name="OSF1"; plat_def="__osf1__"; os_v="5";; - *-*-hpux10*) plat_name="HPUX"; plat_def="__hpux__"; os_v="10";; - *-*-hpux11*) plat_name="HPUX"; plat_def="__hpux__"; os_v="11";; - *-*-nextstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; - *-*-openstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; - *-*-irix*) plat_name="IRIX"; plat_def="__irix__"; os_v="6";; - *-*-aix*) plat_name="AIX"; plat_def="__aix__"; os_v="4";; - *-*-darwin*) plat_name="Darwin"; plat_def="__darwin__"; os_v="1";; - *-*-freebsd3*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="3";; - *-*-freebsd4*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="4";; - *-*-freebsd5*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="5";; - *-*-freebsd6*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="6";; - *-*-freebsd7*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="7";; - *-*-freebsd8*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="8";; - *-*-kfreebsd*) plat_name="kFreeBSD"; plat_def="__FreeBSD_kernel__"; os_v="6";; - *-*-netbsd*) plat_name="NetBSD"; plat_def="__netbsd__"; os_v="1";; - *-*-openbsd*) plat_name="OpenBSD"; plat_def="__openbsd__"; os_v="3";; - *-*-sco*) plat_name="OSR5"; plat_def="__osr5__"; os_v="5";; - *-*-gnu*) plat_name="GNU"; plat_def="__hurd__" ; os_v="0";; + *-*-linux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; + *-*-uclinux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; + *-*-cygwin*) plat_name="Cygwin"; plat_def="__cygwin__"; os_v="1";; + *-*-solaris*) plat_name="SunOS"; plat_def="__sunos__"; os_v="5";; + *-*-osf3*) plat_name="OSF1"; plat_def="__osf1__"; os_v="3";; + *-*-osf4*) plat_name="OSF1"; plat_def="__osf1__"; os_v="4";; + *-*-osf5*) plat_name="OSF1"; plat_def="__osf1__"; os_v="5";; + *-*-hpux10*) plat_name="HPUX"; plat_def="__hpux__"; os_v="10";; + *-*-hpux11*) plat_name="HPUX"; plat_def="__hpux__"; os_v="11";; + *-*-nextstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; + *-*-openstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; + *-*-irix*) plat_name="IRIX"; plat_def="__irix__"; os_v="6";; + *-*-aix*) plat_name="AIX"; plat_def="__aix__"; os_v="4";; + *-*-darwin*) plat_name="Darwin"; plat_def="__darwin__"; os_v="1";; + *-*-dragonfly*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="9";; + *-*-freebsd3.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="3";; + *-*-freebsd4.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="4";; + *-*-freebsd5.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="5";; + *-*-freebsd6.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="6";; + *-*-freebsd7.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="7";; + *-*-freebsd8.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="8";; + *-*-freebsd9.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="9";; + *-*-freebsd10.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="10";; + *-*-freebsd11.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="11";; + *-*-freebsd12.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="12";; + *-*-freebsd13.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="13";; + *-*-freebsd14.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="14";; + *-*-freebsd15.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="15";; + *-*-kfreebsd*) plat_name="kFreeBSD"; plat_def="__FreeBSD_kernel__"; os_v="6";; + *-*-netbsd*) plat_name="NetBSD"; plat_def="__netbsd__"; os_v="1";; + *-*-openbsd*) plat_name="OpenBSD"; plat_def="__openbsd__"; os_v="3";; + *-*-sco*) plat_name="OSR5"; plat_def="__osr5__"; os_v="5";; + *-*-gnu*) plat_name="GNU"; plat_def="__hurd__" ; os_v="0";; esac PLATFORM_NAME=$plat_name @@ -9117,7 +9125,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by omniORB $as_me 4.3.1, which was +This file was extended by omniORB $as_me 4.3.2, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -9185,7 +9193,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -omniORB config.status 4.3.1 +omniORB config.status 4.3.2 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/configure.ac new/omniORB-4.3.2/configure.ac --- old/omniORB-4.3.1/configure.ac 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/configure.ac 2024-01-15 15:03:08.000000000 +0100 @@ -1,5 +1,5 @@ dnl -*- M4 -*- -AC_INIT([omniORB],[4.3.1],[bugs@omniorb-support.com]) +AC_INIT([omniORB],[4.3.2],[bugs@omniorb-support.com]) AC_PREREQ([2.71]) AC_CONFIG_SRCDIR(bin/scripts/omkdirhier) @@ -205,31 +205,39 @@ os_v="0" case "$host" in - *-*-linux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; - *-*-uclinux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; - *-*-cygwin*) plat_name="Cygwin"; plat_def="__cygwin__"; os_v="1";; - *-*-solaris*) plat_name="SunOS"; plat_def="__sunos__"; os_v="5";; - *-*-osf3*) plat_name="OSF1"; plat_def="__osf1__"; os_v="3";; - *-*-osf4*) plat_name="OSF1"; plat_def="__osf1__"; os_v="4";; - *-*-osf5*) plat_name="OSF1"; plat_def="__osf1__"; os_v="5";; - *-*-hpux10*) plat_name="HPUX"; plat_def="__hpux__"; os_v="10";; - *-*-hpux11*) plat_name="HPUX"; plat_def="__hpux__"; os_v="11";; - *-*-nextstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; - *-*-openstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; - *-*-irix*) plat_name="IRIX"; plat_def="__irix__"; os_v="6";; - *-*-aix*) plat_name="AIX"; plat_def="__aix__"; os_v="4";; - *-*-darwin*) plat_name="Darwin"; plat_def="__darwin__"; os_v="1";; - *-*-freebsd3*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="3";; - *-*-freebsd4*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="4";; - *-*-freebsd5*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="5";; - *-*-freebsd6*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="6";; - *-*-freebsd7*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="7";; - *-*-freebsd8*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="8";; - *-*-kfreebsd*) plat_name="kFreeBSD"; plat_def="__FreeBSD_kernel__"; os_v="6";; - *-*-netbsd*) plat_name="NetBSD"; plat_def="__netbsd__"; os_v="1";; - *-*-openbsd*) plat_name="OpenBSD"; plat_def="__openbsd__"; os_v="3";; - *-*-sco*) plat_name="OSR5"; plat_def="__osr5__"; os_v="5";; - *-*-gnu*) plat_name="GNU"; plat_def="__hurd__" ; os_v="0";; + *-*-linux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; + *-*-uclinux-*) plat_name="Linux"; plat_def="__linux__"; os_v="2";; + *-*-cygwin*) plat_name="Cygwin"; plat_def="__cygwin__"; os_v="1";; + *-*-solaris*) plat_name="SunOS"; plat_def="__sunos__"; os_v="5";; + *-*-osf3*) plat_name="OSF1"; plat_def="__osf1__"; os_v="3";; + *-*-osf4*) plat_name="OSF1"; plat_def="__osf1__"; os_v="4";; + *-*-osf5*) plat_name="OSF1"; plat_def="__osf1__"; os_v="5";; + *-*-hpux10*) plat_name="HPUX"; plat_def="__hpux__"; os_v="10";; + *-*-hpux11*) plat_name="HPUX"; plat_def="__hpux__"; os_v="11";; + *-*-nextstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; + *-*-openstep*) plat_name="NextStep"; plat_def="__nextstep__"; os_v="3";; + *-*-irix*) plat_name="IRIX"; plat_def="__irix__"; os_v="6";; + *-*-aix*) plat_name="AIX"; plat_def="__aix__"; os_v="4";; + *-*-darwin*) plat_name="Darwin"; plat_def="__darwin__"; os_v="1";; + *-*-dragonfly*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="9";; + *-*-freebsd3.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="3";; + *-*-freebsd4.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="4";; + *-*-freebsd5.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="5";; + *-*-freebsd6.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="6";; + *-*-freebsd7.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="7";; + *-*-freebsd8.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="8";; + *-*-freebsd9.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="9";; + *-*-freebsd10.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="10";; + *-*-freebsd11.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="11";; + *-*-freebsd12.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="12";; + *-*-freebsd13.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="13";; + *-*-freebsd14.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="14";; + *-*-freebsd15.*) plat_name="FreeBSD"; plat_def="__freebsd__"; os_v="15";; + *-*-kfreebsd*) plat_name="kFreeBSD"; plat_def="__FreeBSD_kernel__"; os_v="6";; + *-*-netbsd*) plat_name="NetBSD"; plat_def="__netbsd__"; os_v="1";; + *-*-openbsd*) plat_name="OpenBSD"; plat_def="__openbsd__"; os_v="3";; + *-*-sco*) plat_name="OSR5"; plat_def="__osr5__"; os_v="5";; + *-*-gnu*) plat_name="GNU"; plat_def="__hurd__" ; os_v="0";; esac AC_SUBST(PLATFORM_NAME, $plat_name) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/contrib/RPMs/omniORB.spec new/omniORB-4.3.2/contrib/RPMs/omniORB.spec --- old/omniORB-4.3.1/contrib/RPMs/omniORB.spec 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/contrib/RPMs/omniORB.spec 2024-01-15 15:03:08.000000000 +0100 @@ -5,7 +5,7 @@ %define version_major 4 %define version_minor 3 -%define version_micro 1 +%define version_micro 2 %define version_full %{version_major}.%{version_minor}.%{version_micro} %define version_brief %{version_major}.%{version_minor} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/contrib/RPMs/omniORB_new.spec new/omniORB-4.3.2/contrib/RPMs/omniORB_new.spec --- old/omniORB-4.3.1/contrib/RPMs/omniORB_new.spec 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/contrib/RPMs/omniORB_new.spec 2024-01-15 15:03:08.000000000 +0100 @@ -13,7 +13,7 @@ Summary: Object Request Broker (ORB) Name: %{_name} -Version: 4.3.1 +Version: 4.3.2 Release: 1 License: GPL / LGPL Group: System/Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/doc/omniORB/omniORB.html new/omniORB-4.3.2/doc/omniORB/omniORB.html --- old/omniORB-4.3.1/doc/omniORB/omniORB.html 2023-04-04 17:01:47.000000000 +0200 +++ new/omniORB-4.3.2/doc/omniORB/omniORB.html 2024-01-15 13:48:22.000000000 +0100 @@ -2013,7 +2013,35 @@ are 1.0, 1.1 and 1.2.</p><p><span style="font-family:monospace">giopMaxMsgSize</span> <span style="font-style:italic">default</span> = <span style="font-family:monospace">2097152</span></p><p>The largest message, in bytes, that the ORB will send or receive, to avoid resource starvation. If the limit is exceeded, a <span style="font-family:monospace">MARSHAL</span> -exception is thrown. The size must be >= 8192.</p><p><span style="font-family:monospace">strictIIOP</span> <span style="font-style:italic">default</span> = +exception is thrown. The size must be >= 8192.</p><p><span style="font-family:monospace">giopBufferSize</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">8192</span></p><p>When transmitting data, it is marshalled into a buffer, and flushed +across the network when the buffer is full. If there is a large amount +of data to transmit, using a relatively small buffer allows some of +the data to be in transit across the network while later marshalling +activity happens in parallel. However, in some circumstances it may be +beneficial to use larger buffers, and so make it more likely that the +complete request/response body fits in a single buffer.</p><p><span style="font-family:monospace">giopDirectReceiveCutOff</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">1024</span></p><p>Some values, such as sequences of base integer types and strings that +do not require codeset conversion, have an in-memory representation +that is identical to the GIOP marshalled form. When receiving such +data, if the marshalled value is larger than the direct receive +cut-off, omniORB directly receives from the network into the +application data structure, rather than first copying it to the GIOP +buffer.</p><p><span style="font-family:monospace">giopDirectSendCutOff</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">16384</span></p><p>Some values, such as sequences of base integer types and strings that +do not require codeset conversion, have an in-memory representation +that is identical to the GIOP marshalled form. When sending such data, +if the marshalled value is larger than the direct send cut-off, +omniORB directly sends it from the application data structure, rather +than first copying it to the GIOP buffer.</p><p><span style="font-family:monospace">giopMinChunkBeforeDirectSend</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">1024</span></p><p>When directly sending GIOP data (due to <span style="font-family:monospace">giopDirectSendCutOff</span>), +omniORB must first send any data that it has already buffered. If the +buffer only contains a small amount of data, that would cause +transmission of an inefficiently small network packet. If the buffer +before a direct send contains less data than the minimum chunk size, +enough data is copied from the application data structure into the +buffer to reach the minimum size, before the rest of the data is +sent directly.</p><p><span style="font-family:monospace">strictIIOP</span> <span style="font-style:italic">default</span> = <span style="font-family:monospace">1</span></p><p>If <span style="font-family:monospace">true</span>, be strict about interpretation of the IIOP specification; if <span style="font-family:monospace">false</span>, permit some buggy behaviour to pass.</p><p><span style="font-family:monospace">lcdMode</span> <span style="font-style:italic">default</span> = <span style="font-family:monospace">0</span></p><p>If <span style="font-family:monospace">true</span>, select ‘Lowest Common Denominator’ mode. This disables diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/doc/omniORB/omniORB004.html new/omniORB-4.3.2/doc/omniORB/omniORB004.html --- old/omniORB-4.3.1/doc/omniORB/omniORB004.html 2023-04-04 17:01:47.000000000 +0200 +++ new/omniORB-4.3.2/doc/omniORB/omniORB004.html 2024-01-15 13:48:22.000000000 +0100 @@ -384,7 +384,35 @@ are 1.0, 1.1 and 1.2.</p><p><span style="font-family:monospace">giopMaxMsgSize</span> <span style="font-style:italic">default</span> = <span style="font-family:monospace">2097152</span></p><p>The largest message, in bytes, that the ORB will send or receive, to avoid resource starvation. If the limit is exceeded, a <span style="font-family:monospace">MARSHAL</span> -exception is thrown. The size must be >= 8192.</p><p><span style="font-family:monospace">strictIIOP</span> <span style="font-style:italic">default</span> = +exception is thrown. The size must be >= 8192.</p><p><span style="font-family:monospace">giopBufferSize</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">8192</span></p><p>When transmitting data, it is marshalled into a buffer, and flushed +across the network when the buffer is full. If there is a large amount +of data to transmit, using a relatively small buffer allows some of +the data to be in transit across the network while later marshalling +activity happens in parallel. However, in some circumstances it may be +beneficial to use larger buffers, and so make it more likely that the +complete request/response body fits in a single buffer.</p><p><span style="font-family:monospace">giopDirectReceiveCutOff</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">1024</span></p><p>Some values, such as sequences of base integer types and strings that +do not require codeset conversion, have an in-memory representation +that is identical to the GIOP marshalled form. When receiving such +data, if the marshalled value is larger than the direct receive +cut-off, omniORB directly receives from the network into the +application data structure, rather than first copying it to the GIOP +buffer.</p><p><span style="font-family:monospace">giopDirectSendCutOff</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">16384</span></p><p>Some values, such as sequences of base integer types and strings that +do not require codeset conversion, have an in-memory representation +that is identical to the GIOP marshalled form. When sending such data, +if the marshalled value is larger than the direct send cut-off, +omniORB directly sends it from the application data structure, rather +than first copying it to the GIOP buffer.</p><p><span style="font-family:monospace">giopMinChunkBeforeDirectSend</span> <span style="font-style:italic">default</span> = +<span style="font-family:monospace">1024</span></p><p>When directly sending GIOP data (due to <span style="font-family:monospace">giopDirectSendCutOff</span>), +omniORB must first send any data that it has already buffered. If the +buffer only contains a small amount of data, that would cause +transmission of an inefficiently small network packet. If the buffer +before a direct send contains less data than the minimum chunk size, +enough data is copied from the application data structure into the +buffer to reach the minimum size, before the rest of the data is +sent directly.</p><p><span style="font-family:monospace">strictIIOP</span> <span style="font-style:italic">default</span> = <span style="font-family:monospace">1</span></p><p>If <span style="font-family:monospace">true</span>, be strict about interpretation of the IIOP specification; if <span style="font-family:monospace">false</span>, permit some buggy behaviour to pass.</p><p><span style="font-family:monospace">lcdMode</span> <span style="font-style:italic">default</span> = <span style="font-family:monospace">0</span></p><p>If <span style="font-family:monospace">true</span>, select ‘Lowest Common Denominator’ mode. This disables Binary files old/omniORB-4.3.1/doc/omniORB.pdf and new/omniORB-4.3.2/doc/omniORB.pdf differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/doc/tex/omniORB.tex new/omniORB-4.3.2/doc/tex/omniORB.tex --- old/omniORB-4.3.1/doc/tex/omniORB.tex 2023-04-04 17:01:47.000000000 +0200 +++ new/omniORB-4.3.2/doc/tex/omniORB.tex 2024-01-15 13:48:22.000000000 +0100 @@ -2444,6 +2444,47 @@ avoid resource starvation. If the limit is exceeded, a \code{MARSHAL} exception is thrown. The size must be >= 8192. +\confopt{giopBufferSize}{8192} + +When transmitting data, it is marshalled into a buffer, and flushed +across the network when the buffer is full. If there is a large amount +of data to transmit, using a relatively small buffer allows some of +the data to be in transit across the network while later marshalling +activity happens in parallel. However, in some circumstances it may be +beneficial to use larger buffers, and so make it more likely that the +complete request/response body fits in a single buffer. + +\confopt{giopDirectReceiveCutOff}{1024} + +Some values, such as sequences of base integer types and strings that +do not require codeset conversion, have an in-memory representation +that is identical to the GIOP marshalled form. When receiving such +data, if the marshalled value is larger than the direct receive +cut-off, omniORB directly receives from the network into the +application data structure, rather than first copying it to the GIOP +buffer. + +\confopt{giopDirectSendCutOff}{16384} + +Some values, such as sequences of base integer types and strings that +do not require codeset conversion, have an in-memory representation +that is identical to the GIOP marshalled form. When sending such data, +if the marshalled value is larger than the direct send cut-off, +omniORB directly sends it from the application data structure, rather +than first copying it to the GIOP buffer. + +\confopt{giopMinChunkBeforeDirectSend}{1024} + +When directly sending GIOP data (due to \code{giopDirectSendCutOff}), +omniORB must first send any data that it has already buffered. If the +buffer only contains a small amount of data, that would cause +transmission of an inefficiently small network packet. If the buffer +before a direct send contains less data than the minimum chunk size, +enough data is copied from the application data structure into the +buffer to reach the minimum size, before the rest of the data is +sent directly. + + \confopt{strictIIOP}{1} If \code{true}, be strict about interpretation of the IIOP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/mk/afterauto.mk.in new/omniORB-4.3.2/mk/afterauto.mk.in --- old/omniORB-4.3.1/mk/afterauto.mk.in 2003-03-23 22:04:39.000000000 +0100 +++ new/omniORB-4.3.2/mk/afterauto.mk.in 2023-09-22 21:14:46.000000000 +0200 @@ -159,28 +159,37 @@ # The depend.phony rule which actually runs omkdepend. # -depend.phony: - @if [ -f cdepend.tmp ]; then \ - echo $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ - $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ - rm -f cdepend.tmp; \ - fi; \ - if [ -f cxxdepend.tmp ]; then \ - echo $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ - $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ - rm -f cxxdepend.tmp; \ - fi; \ - if [ -f asdepend.tmp ]; then \ - echo $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ - $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ - rm -f asdepend.tmp; \ - fi +define RunMkDepend +if [ -f cdepend.tmp ]; then \ + echo $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ + $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ + rm -f cdepend.tmp; \ +fi; \ +if [ -f cxxdepend.tmp ]; then \ + echo $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ + $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ + rm -f cxxdepend.tmp; \ +fi; \ +if [ -f asdepend.tmp ]; then \ + echo $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ + $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ + rm -f asdepend.tmp; \ +fi +endef + +depend1.phony: + @$(RunMkDepend) + +depend2.phony: + @$(RunMkDepend) # # Now include the .d files and the "depend.phony" file which never exists. -# For some reason GNU make evaluates the targets in reverse order, so we need -# to include depend.phony first. The "-" tells make not to complain that it -# can't find the file. + +# For some reason, older versions of GNU make evaluate the targets in +# reverse order, so we need to include depend1.phony first, whereas +# newer versions need depend2.phony afterwards. The "-" tells make not +# to complain that it can't find the file. # # Don't do any includes for targets "clean" and "veryclean" - so if you do # an "omake veryclean" or "omake clean" in an empty directory the .d files @@ -190,7 +199,7 @@ ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),veryclean) --include depend.phony +-include depend1.phony ifdef SRCS -include $(SRCS:.c=.d) @@ -203,5 +212,8 @@ ifdef ASSRCS -include $(ASSRCS:.s=.d) endif + +-include depend2.phony + endif endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/mk/afterdir.mk new/omniORB-4.3.2/mk/afterdir.mk --- old/omniORB-4.3.1/mk/afterdir.mk 2003-03-23 22:04:39.000000000 +0100 +++ new/omniORB-4.3.2/mk/afterdir.mk 2023-09-22 21:14:46.000000000 +0200 @@ -163,28 +163,37 @@ # The depend.phony rule which actually runs omkdepend. # -depend.phony: - @if [ -f cdepend.tmp ]; then \ - echo $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ - $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ - rm -f cdepend.tmp; \ - fi; \ - if [ -f cxxdepend.tmp ]; then \ - echo $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ - $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ - rm -f cxxdepend.tmp; \ - fi; \ - if [ -f asdepend.tmp ]; then \ - echo $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ - $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ - rm -f asdepend.tmp; \ - fi +define RunMkDepend +if [ -f cdepend.tmp ]; then \ + echo $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ + $(CMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cdepend.tmp`; \ + rm -f cdepend.tmp; \ +fi; \ +if [ -f cxxdepend.tmp ]; then \ + echo $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ + $(CXXMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat cxxdepend.tmp`; \ + rm -f cxxdepend.tmp; \ +fi; \ +if [ -f asdepend.tmp ]; then \ + echo $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ + $(ASMAKEDEPEND) $(MDFLAGS) $(CPPFLAGS) `cat asdepend.tmp`; \ + rm -f asdepend.tmp; \ +fi +endef + +depend1.phony: + @$(RunMkDepend) + +depend2.phony: + @$(RunMkDepend) # # Now include the .d files and the "depend.phony" file which never exists. -# For some reason GNU make evaluates the targets in reverse order, so we need -# to include depend.phony first. The "-" tells make not to complain that it -# can't find the file. + +# For some reason, older versions of GNU make evaluate the targets in +# reverse order, so we need to include depend1.phony first, whereas +# newer versions need depend2.phony afterwards. The "-" tells make not +# to complain that it can't find the file. # # Don't do any includes for targets "clean" and "veryclean" - so if you do # an "omake veryclean" or "omake clean" in an empty directory the .d files @@ -194,7 +203,7 @@ ifneq ($(MAKECMDGOALS),clean) ifneq ($(MAKECMDGOALS),veryclean) --include depend.phony +-include depend1.phony ifdef SRCS -include $(SRCS:.c=.d) @@ -207,5 +216,8 @@ ifdef ASSRCS -include $(ASSRCS:.s=.d) endif + +-include depend2.phony + endif endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/mk/version.mk new/omniORB-4.3.2/mk/version.mk --- old/omniORB-4.3.1/mk/version.mk 2023-08-28 18:47:18.000000000 +0200 +++ new/omniORB-4.3.2/mk/version.mk 2024-01-15 15:03:08.000000000 +0100 @@ -4,13 +4,13 @@ OMNITHREAD_MAJOR_VERSION = $(word 1,$(subst ., ,$(OMNITHREAD_VERSION))) OMNITHREAD_MINOR_VERSION = $(word 2,$(subst ., ,$(OMNITHREAD_VERSION))) -OMNIORB_VERSION = 4.3.1 -OMNIORB_VERSION_HEX = 0x040301f1 +OMNIORB_VERSION = 4.3.2 +OMNIORB_VERSION_HEX = 0x040302f1 OMNIORB_MAJOR_VERSION = $(word 1,$(subst ., ,$(OMNIORB_VERSION))) OMNIORB_MINOR_VERSION = $(word 2,$(subst ., ,$(OMNIORB_VERSION))) OMNIORB_MICRO_VERSION = $(word 3,$(subst ., ,$(OMNIORB_VERSION))) -OMNIPY_VERSION = 4.3.1 +OMNIPY_VERSION = 4.3.2 OMNIPY_MAJOR = $(word 1,$(subst ., ,$(OMNIPY_VERSION))) OMNIPY_MINOR = $(word 2,$(subst ., ,$(OMNIPY_VERSION))) OMNIPY_MICRO = $(word 3,$(subst ., ,$(OMNIPY_VERSION))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/sample.cfg new/omniORB-4.3.2/sample.cfg --- old/omniORB-4.3.1/sample.cfg 2020-12-31 19:18:53.000000000 +0100 +++ new/omniORB-4.3.2/sample.cfg 2024-01-15 13:48:22.000000000 +0100 @@ -101,6 +101,65 @@ giopMaxMsgSize = 2097152 ############################################################################ +# giopBufferSize +# +# When transmitting data, it is marshalled into a buffer, and flushed +# across the network when the buffer is full. If there is a large amount +# of data to transmit, using a relatively small buffer allows some of the +# data to be in transit across the network while later marshalling +# activity happens in parallel. However, in some circumstances it may be +# beneficial to use larger buffers, and so make it more likely that the +# complete request/response body fits in a single buffer. +# +# Valid values = (n >= 8192) +# +giopBufferSize = 8192 + +############################################################################ +# giopDirectReceiveCutOff +# +# Some values, such as sequences of base integer types and strings that +# do not require codeset conversion, have an in-memory representation +# that is identical to the GIOP marshalled form. When receiving such +# data, if the marshalled value is larger than the direct receive +# cut-off, omniORB directly receives from the network into the +# application data structure, rather than first copying it to the GIOP +# buffer. +# +# Valid values = (n >= 128) +# +giopDirectReceiveCutOff = 1024 + +############################################################################ +# giopDirectSendCutOff +# +# Some values, such as sequences of base integer types and strings that +# do not require codeset conversion, have an in-memory representation +# that is identical to the GIOP marshalled form. When sending such data, +# if the marshalled value is larger than the direct send cut-off, omniORB +# directly sends it from the application data structure, rather than +# first copying it to the GIOP buffer. +# +# Valid values = (n >= 128) +# +giopDirectSendCutOff = 16384 + +############################################################################ +# giopMinChunkBeforeDirectSend +# +# When directly sending GIOP data (due to giopDirectSendCutOff), omniORB +# must first send any data that it has already buffered. If the buffer +# only contains a small amount of data, that would cause transmission of +# an inefficiently small network packet. If the buffer before a direct +# send contains less data than the minimum chunk size, enough data is +# copied from the application data structure into the buffer to reach the +# minimum size, before the rest of the data is sent directly. +# +# Valid values = (n >= 128) +# +giopMinChunkBeforeDirectSend = 1024 + +############################################################################ # strictIIOP flag # Enable vigorous check on incoming IIOP messages # diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/src/lib/omniORB/orbcore/giopImpl12.cc new/omniORB-4.3.2/src/lib/omniORB/orbcore/giopImpl12.cc --- old/omniORB-4.3.1/src/lib/omniORB/orbcore/giopImpl12.cc 2020-04-24 23:15:11.000000000 +0200 +++ new/omniORB-4.3.2/src/lib/omniORB/orbcore/giopImpl12.cc 2024-01-15 14:41:31.000000000 +0100 @@ -155,6 +155,11 @@ CORBA::ULong reqid; if (mtype != GIOP::CloseConnection && mtype != GIOP::MessageError) { + if (b->size < 16) { + giopStream_Buffer::deleteBuffer(b); + OMNIORB_THROW(MARSHAL, MARSHAL_PassEndOfMessage, + (CORBA::CompletionStatus)g->completion()); + } // unmarshal request id. reqid = *((CORBA::ULong*)(hdr + 12)); @@ -519,6 +524,7 @@ g->pd_inb_mkr = (void*)(hdr + 16); g->pd_inb_end = (void*)g->inputBufferLast(); + OMNIORB_ASSERT(g->pd_inb_mkr <= g->pd_inb_end); g->inputExpectAnotherFragment(((hdr[6] & 0x2) ? 1 : 0)); @@ -602,6 +608,7 @@ g->pd_inb_mkr = (void*)(hdr + 16); g->pd_inb_end = (void*)g->inputBufferLast(); + OMNIORB_ASSERT(g->pd_inb_mkr <= g->pd_inb_end); g->inputExpectAnotherFragment(((hdr[6] & 0x2) ? 1 : 0)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/src/lib/omniORB/orbcore/giopStream.cc new/omniORB-4.3.2/src/lib/omniORB/orbcore/giopStream.cc --- old/omniORB-4.3.1/src/lib/omniORB/orbcore/giopStream.cc 2022-03-13 16:48:48.000000000 +0100 +++ new/omniORB-4.3.2/src/lib/omniORB/orbcore/giopStream.cc 2024-01-15 14:41:31.000000000 +0100 @@ -792,6 +792,14 @@ (((bsz) & 0x0000ff00) << 8) | (((bsz) & 0x000000ff) << 24)); } + + if (msz >= 0xfffffff4U) { + // The whole message must be smaller than 2^32. + giopStream_Buffer::deleteBuffer(buf); + OMNIORB_THROW(MARSHAL,MARSHAL_MessageSizeExceedLimit, + (CORBA::CompletionStatus)completion()); + } + return msz + 12; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/src/lib/omniORB/orbcore/giopStreamImpl.cc new/omniORB-4.3.2/src/lib/omniORB/orbcore/giopStreamImpl.cc --- old/omniORB-4.3.1/src/lib/omniORB/orbcore/giopStreamImpl.cc 2020-09-21 23:47:46.000000000 +0200 +++ new/omniORB-4.3.2/src/lib/omniORB/orbcore/giopStreamImpl.cc 2024-01-15 13:48:22.000000000 +0100 @@ -555,6 +555,122 @@ ///////////////////////////////////////////////////////////////////////////// +class giopBufferSizeHandler : public orbOptions::Handler { +public: + + giopBufferSizeHandler() : + orbOptions::Handler("giopBufferSize", + "giopBufferSize = n >= 8192", + 1, + "-ORBgiopBufferSize < n >= 8192 >") {} + + void visit(const char* value,orbOptions::Source) { + + CORBA::ULong v; + if (!orbOptions::getULong(value,v) || (v < 8192)) { + throw orbOptions::BadParam(key(),value, + "Expect n >= 8192"); + } + giopStream::bufferSize = v; + } + + void dump(orbOptions::sequenceString& result) { + orbOptions::addKVULong(key(), giopStream::bufferSize, result); + } + +}; + +static giopBufferSizeHandler giopBufferSizeHandler_; + + +///////////////////////////////////////////////////////////////////////////// +class giopDirectSendCutOffHandler : public orbOptions::Handler { +public: + + giopDirectSendCutOffHandler() : + orbOptions::Handler("giopDirectSendCutOff", + "giopDirectSendCutOff = n >= 128", + 1, + "-ORBgiopDirectSendCutOff < n >= 128 >") {} + + void visit(const char* value,orbOptions::Source) { + + CORBA::ULong v; + if (!orbOptions::getULong(value,v) || (v < 128)) { + throw orbOptions::BadParam(key(),value, + "Expect n >= 128"); + } + giopStream::directSendCutOff = v; + } + + void dump(orbOptions::sequenceString& result) { + orbOptions::addKVULong(key(), giopStream::directSendCutOff, result); + } + +}; + +static giopDirectSendCutOffHandler giopDirectSendCutOffHandler_; + + +///////////////////////////////////////////////////////////////////////////// +class giopDirectReceiveCutOffHandler : public orbOptions::Handler { +public: + + giopDirectReceiveCutOffHandler() : + orbOptions::Handler("giopDirectReceiveCutOff", + "giopDirectReceiveCutOff = n >= 128", + 1, + "-ORBgiopDirectReceiveCutOff < n >= 128 >") {} + + void visit(const char* value,orbOptions::Source) { + + CORBA::ULong v; + if (!orbOptions::getULong(value,v) || (v < 128)) { + throw orbOptions::BadParam(key(),value, + "Expect n >= 128"); + } + giopStream::directReceiveCutOff = v; + } + + void dump(orbOptions::sequenceString& result) { + orbOptions::addKVULong(key(), giopStream::directReceiveCutOff, result); + } + +}; + +static giopDirectReceiveCutOffHandler giopDirectReceiveCutOffHandler_; + + +///////////////////////////////////////////////////////////////////////////// +class giopMinChunkBeforeDirectSendHandler : public orbOptions::Handler { +public: + + giopMinChunkBeforeDirectSendHandler() : + orbOptions::Handler("giopMinChunkBeforeDirectSend", + "giopMinChunkBeforeDirectSend = n >= 128", + 1, + "-ORBgiopMinChunkBeforeDirectSend < n >= 128 >") {} + + void visit(const char* value,orbOptions::Source) { + + CORBA::ULong v; + if (!orbOptions::getULong(value,v) || (v < 128)) { + throw orbOptions::BadParam(key(),value, + "Expect n >= 128"); + } + giopStream::minChunkBeforeDirectSend = v; + } + + void dump(orbOptions::sequenceString& result) { + orbOptions::addKVULong(key(), giopStream::minChunkBeforeDirectSend, result); + } + +}; + +static giopMinChunkBeforeDirectSendHandler giopMinChunkBeforeDirectSendHandler_; + + +///////////////////////////////////////////////////////////////////////////// // Module initialiser // ///////////////////////////////////////////////////////////////////////////// @@ -575,6 +691,10 @@ orbOptions::singleton().registerHandler(maxInterleavedCallsPerConnectionHandler_); orbOptions::singleton().registerHandler(giopTargetAddressModeHandler_); orbOptions::singleton().registerHandler(strictIIOPHandler_); + orbOptions::singleton().registerHandler(giopBufferSizeHandler_); + orbOptions::singleton().registerHandler(giopDirectSendCutOffHandler_); + orbOptions::singleton().registerHandler(giopDirectReceiveCutOffHandler_); + orbOptions::singleton().registerHandler(giopMinChunkBeforeDirectSendHandler_); } void attach() { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/src/lib/omnithread/dir.mk new/omniORB-4.3.2/src/lib/omnithread/dir.mk --- old/omniORB-4.3.1/src/lib/omnithread/dir.mk 2010-03-01 16:59:18.000000000 +0100 +++ new/omniORB-4.3.2/src/lib/omnithread/dir.mk 2023-09-25 22:15:42.000000000 +0200 @@ -57,6 +57,7 @@ ifndef NoStaticLibrary staticlib := static/$(patsubst %,$(LibNoDebugPattern),$(LIB_NAME)$(major)) +MDFLAGS += -p static/ mkstatic:: @(dir=static; $(CreateDir)) @@ -97,6 +98,7 @@ ifdef BuildSharedLibrary shlib := shared/$(shell $(SharedLibraryFullName) $(namespec)) +MDFLAGS += -p shared/ ifdef Win32Platform # in case of Win32 lossage: @@ -183,6 +185,7 @@ ##################################################### dbuglib := debug/$(patsubst %,$(LibDebugPattern),$(LIB_NAME)$(major)) +MDFLAGS += -p debug/ mkstaticdbug:: @(dir=debug; $(CreateDir)) @@ -212,6 +215,7 @@ ifdef BuildSharedLibrary dbugshlib := shareddebug/$(shell $(SharedLibraryDebugFullName) $(namespec)) +MDFLAGS += -p shareddebug/ dbugimps := $(patsubst $(DLLNoDebugSearchPattern),$(DLLDebugSearchPattern), \ $(LIB_IMPORTS)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/src/lib/omnithread/posix.cc new/omniORB-4.3.2/src/lib/omnithread/posix.cc --- old/omniORB-4.3.1/src/lib/omnithread/posix.cc 2021-01-17 17:53:53.000000000 +0100 +++ new/omniORB-4.3.2/src/lib/omnithread/posix.cc 2023-12-19 17:39:13.000000000 +0100 @@ -100,6 +100,14 @@ #define DB(x) // x //#include <iostream.h> or #include <iostream> if DB is on. + +// If PthreadDraftVersion is not defined, assume it is modern + +#ifndef PthreadDraftVersion +# define PthreadDraftVersion 10 +#endif + + #if (PthreadDraftVersion <= 6) #define ERRNO(x) (((x) != 0) ? (errno) : 0) #ifdef __VMS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/omniORB-4.3.1/update.log new/omniORB-4.3.2/update.log --- old/omniORB-4.3.1/update.log 2023-08-28 19:31:21.000000000 +0200 +++ new/omniORB-4.3.2/update.log 2024-01-15 15:03:08.000000000 +0100 @@ -1,3 +1,70 @@ +Mon 15 Jan 14:02:04 GMT 2024 +============================ + +- This is omniORB 4.3.2. + +README.FIRST.txt +ReleaseNotes.txt +THIS_IS_OMNIORB_4_3_1 +THIS_IS_OMNIORB_4_3_2 +configure.ac +configure +contrib/RPMs/omniORB.spec +contrib/RPMs/omniORB_new.spec +mk/version.mk + + +Mon 15 Jan 13:38:25 GMT 2024 +============================ + +- Avoid errors with invalid GIOP message size fields. + +src/lib/omniORB/orbcore/giopImpl12.cc +src/lib/omniORB/orbcore/giopStream.cc + + +Mon 15 Jan 12:47:01 GMT 2024 +============================ + +- New configuration options for GIOP buffer size, direct send/receive + thresholds. + +doc/omniORB.pdf +doc/omniORB/omniORB.html +doc/omniORB/omniORB004.html +doc/tex/omniORB.tex +sample.cfg +src/lib/omniORB/orbcore/giopStreamImpl.cc + + +Tue 19 Dec 16:37:16 GMT 2023 +============================ + +- Support newer FreeBSD. Thanks Marcin Cieslak. + +configure.ac +configure +src/lib/omnithread/posix.cc + + +Mon 25 Sep 21:15:10 BST 2023 +============================ + +- Generate correct .d files in omnithread build. + +src/lib/omnithread/dir.mk + + +Fri 22 Sep 20:13:30 BST 2023 +============================ + +- Newer GNU make processes dependencies in a different order, breaking + .d file generation. + +mk/afterauto.mk.in +mk/afterdir.mk + + Mon 28 Aug 18:28:05 BST 2023 ============================
participants (1)
-
Source-Sync