Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libasn1c for openSUSE:Factory 
checked in at 2023-11-01 22:10:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libasn1c (Old)
 and      /work/SRC/openSUSE:Factory/.libasn1c.new.17445 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libasn1c"

Wed Nov  1 22:10:57 2023 rev:11 rq:1121671 version:0.9.36

Changes:
--------
--- /work/SRC/openSUSE:Factory/libasn1c/libasn1c.changes        2023-05-30 
22:02:56.451186553 +0200
+++ /work/SRC/openSUSE:Factory/.libasn1c.new.17445/libasn1c.changes     
2023-11-01 22:11:30.835075761 +0100
@@ -1,0 +2,6 @@
+Wed Nov  1 17:34:45 UTC 2023 - Jan Engelhardt <[email protected]>
+
+- Update to release 0.9.36
+  * Build fixes
+
+-------------------------------------------------------------------

Old:
----
  0.9.35.tar.gz

New:
----
  0.9.36.tar.gz

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

Other differences:
------------------
++++++ libasn1c.spec ++++++
--- /var/tmp/diff_new_pack.WNnW0C/_old  2023-11-01 22:11:31.275092062 +0100
+++ /var/tmp/diff_new_pack.WNnW0C/_new  2023-11-01 22:11:31.275092062 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libasn1c
-Version:        0.9.35
+Version:        0.9.36
 Release:        0
 Summary:        Osmocon ASN.1 decoder and encoder library
 License:        BSD-2-Clause
@@ -27,7 +27,7 @@
 Source:         https://github.com/osmocom/libasn1c/archive/%version.tar.gz
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config
-BuildRequires:  pkgconfig(libosmocore) >= 0.1.13
+BuildRequires:  pkgconfig(talloc)
 
 %description
 Lev Walkins's asn1c runtime, as a shared library and with

++++++ 0.9.35.tar.gz -> 0.9.36.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libasn1c-0.9.35/.gitignore 
new/libasn1c-0.9.36/.gitignore
--- old/libasn1c-0.9.35/.gitignore      2023-02-07 14:09:41.000000000 +0100
+++ new/libasn1c-0.9.36/.gitignore      2023-09-12 12:34:29.000000000 +0200
@@ -8,6 +8,7 @@
 aclocal.m4
 config.*
 configure
+configure~
 compile
 depcomp
 libtool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libasn1c-0.9.35/debian/changelog 
new/libasn1c-0.9.36/debian/changelog
--- old/libasn1c-0.9.35/debian/changelog        2023-02-07 14:09:41.000000000 
+0100
+++ new/libasn1c-0.9.36/debian/changelog        2023-09-12 12:34:29.000000000 
+0200
@@ -1,3 +1,20 @@
+libasn1c (0.9.36) unstable; urgency=medium
+
+  [ Oliver Smith ]
+  * debian/control: replace, conflict: osmo-libasn1c
+  * INTEGER: ignore invalid -Warray-bounds from GCC-10
+  * debian: set compat level to 10
+  * INTEGER: ignore warning for all GCC versions
+
+  [ Vadim Yanitskiy ]
+  * src/Makefile.am: libraries shall not be in LDFLAGS but in LIBADD
+
+  [ Pau Espin Pedrol ]
+  * .gitignore: Add configure~
+  * Disable _ASN_STACK_OVERFLOW_CHECK if building with Asan enabled
+
+ -- Pau Espin Pedrol <[email protected]>  Tue, 12 Sep 2023 12:34:28 +0200
+
 libasn1c (0.9.35) unstable; urgency=medium
 
   [ Neels Hofmeyr ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libasn1c-0.9.35/debian/compat 
new/libasn1c-0.9.36/debian/compat
--- old/libasn1c-0.9.35/debian/compat   2023-02-07 14:09:41.000000000 +0100
+++ new/libasn1c-0.9.36/debian/compat   2023-09-12 12:34:29.000000000 +0200
@@ -1 +1 @@
-9
+10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libasn1c-0.9.35/debian/control 
new/libasn1c-0.9.36/debian/control
--- old/libasn1c-0.9.35/debian/control  2023-02-07 14:09:41.000000000 +0100
+++ new/libasn1c-0.9.36/debian/control  2023-09-12 12:34:29.000000000 +0200
@@ -1,8 +1,10 @@
 Source: libasn1c
+Conflicts: osmo-libasn1c
+Replaces: osmo-libasn1c
 Section: libs
 Priority: extra
 Maintainer: Osmocom team <[email protected]>
-Build-Depends: debhelper (>=9),
+Build-Depends: debhelper (>= 10),
                dh-autoreconf,
                libtalloc-dev
 Standards-Version: 3.9.8
@@ -11,6 +13,8 @@
 Homepage: https://projects.osmocom.org/projects/libasn1c
 
 Package: libasn1c1
+Conflicts: osmo-libasn1c1
+Replaces: osmo-libasn1c1
 Section: libs
 Architecture: any
 Multi-Arch: same
@@ -19,6 +23,8 @@
 Description: asn1c runtime code as shared library
 
 Package: libasn1c-dbg
+Conflicts: osmo-libasn1c-dbg
+Replaces: osmo-libasn1c-dbg
 Section: debug
 Architecture: any
 Multi-Arch: same
@@ -26,6 +32,8 @@
 Description: asn1c runtime code as shared library
 
 Package: libasn1c-dev
+Conflicts: osmo-libasn1c-dev
+Replaces: osmo-libasn1c-dev
 Section: libdevel
 Architecture: any
 Multi-Arch: same
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libasn1c-0.9.35/include/asn1c/asn_internal.h 
new/libasn1c-0.9.36/include/asn1c/asn_internal.h
--- old/libasn1c-0.9.35/include/asn1c/asn_internal.h    2023-02-07 
14:09:41.000000000 +0100
+++ new/libasn1c-0.9.36/include/asn1c/asn_internal.h    2023-09-12 
12:34:29.000000000 +0200
@@ -108,9 +108,34 @@
 /*
  * Check stack against overflow, if limit is set.
  */
+
+/* Since GCC 13, AddressSanitizer started defaulting to
+* ASAN_OPTIONS="detect_stack_use_after_return=1", which makes this check
+* fail due to apparently jumping stack pointers.
+* Hence, disable this check if building with ASan, as documented in:
+* GCC: https://gcc.gnu.org/onlinedocs/cpp/Common-Predefined-Macros.html
+* Clang: 
https://clang.llvm.org/docs/AddressSanitizer.html#conditional-compilation-with-has-feature-address-sanitizer
+*/
+#if defined(__SANITIZE_ADDRESS__)
+       #define _ASN_SANITIZE_ENABLED 1
+#elif defined(__has_feature)
+#if __has_feature(address_sanitizer)
+       #define _ASN_SANITIZE_ENABLED 1
+#endif
+#endif
+
 #define        _ASN_DEFAULT_STACK_MAX  (30000)
+
+#if defined(_ASN_SANITIZE_ENABLED)
+static inline int
+_ASN_STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
+       (void)ctx;
+       return 0;
+}
+#else
 static inline int
 _ASN_STACK_OVERFLOW_CHECK(asn_codec_ctx_t *ctx) {
+
        if(ctx && ctx->max_stack_size) {
 
                /* ctx MUST be allocated on the stack */
@@ -126,6 +151,7 @@
        }
        return 0;
 }
+#endif
 
 #ifdef __cplusplus
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libasn1c-0.9.35/src/INTEGER.c 
new/libasn1c-0.9.36/src/INTEGER.c
--- old/libasn1c-0.9.35/src/INTEGER.c   2023-02-07 14:09:41.000000000 +0100
+++ new/libasn1c-0.9.36/src/INTEGER.c   2023-09-12 12:34:29.000000000 +0200
@@ -1336,9 +1336,12 @@
                }
                break;
        }
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Warray-bounds"
        /* Copy the integer body */
        for(pstart = p, bp = buf, pend1 += add; p != pend1; p += add)
                *bp++ = *p;
+#pragma GCC diagnostic pop
 
        if(st->buf) FREEMEM(st->buf);
        st->buf = buf;
@@ -1391,9 +1394,12 @@
                }
                break;
        }
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Warray-bounds"
        /* Copy the integer body */
        for(pstart = p, bp = buf, pend1 += add; p != pend1; p += add)
                *bp++ = *p;
+#pragma GCC diagnostic pop
 
        if(st->buf) FREEMEM(st->buf);
        st->buf = buf;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libasn1c-0.9.35/src/Makefile.am 
new/libasn1c-0.9.36/src/Makefile.am
--- old/libasn1c-0.9.35/src/Makefile.am 2023-02-07 14:09:41.000000000 +0100
+++ new/libasn1c-0.9.36/src/Makefile.am 2023-09-12 12:34:29.000000000 +0200
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read Chapter 6 "Library interface versions" of the libtool
 # documentation before making any modification
-LIBVERSION=1:1:0
+LIBVERSION=1:2:0
 
 AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include/asn1c
 AM_CFLAGS = -fPIC -Wall $(LIBTALLOC_CFLAGS)
@@ -11,5 +11,14 @@
 
 lib_LTLIBRARIES = libasn1c.la
 
-libasn1c_la_LDFLAGS = $(LIBTALLOC_LIBS) -lm -version-info $(LIBVERSION) 
-no-undefined
+libasn1c_la_LIBADD = \
+       $(LIBTALLOC_LIBS) \
+       -lm \
+       $(NULL)
+
+libasn1c_la_LDFLAGS = \
+       -version-info $(LIBVERSION) \
+       -no-undefined \
+       $(NULL)
+
 libasn1c_la_SOURCES = ANY.c              constraints.c         
GeneralizedTime.c   NumericString.c      T61String.c asn_codecs_prim.c  
constr_CHOICE.c       GeneralString.c     ObjectDescriptor.c   TeletexString.c 
asn_SEQUENCE_OF.c  constr_SEQUENCE.c     GraphicString.c     
OBJECT_IDENTIFIER.c  UniversalString.c asn_SET_OF.c       constr_SEQUENCE_OF.c  
IA5String.c         OCTET_STRING.c       UTCTime.c ber_decoder.c      
constr_SET.c          INTEGER.c           per_decoder.c        UTF8String.c 
ber_tlv_length.c   constr_SET_OF.c       ISO646String.c      per_encoder.c      
  VideotexString.c ber_tlv_tag.c      constr_TYPE.c         NativeEnumerated.c  
per_support.c        VisibleString.c BIT_STRING.c       NativeInteger.c     
PrintableString.c    xer_decoder.c BMPString.c        der_encoder.c         
NativeReal.c        REAL.c               xer_encoder.c BOOLEAN.c          
ENUMERATED.c          NULL.c              RELATIVE-OID.c       xer_support.c    
per_opentype.c        asn1helpers
 .c

Reply via email to