Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ulfius for openSUSE:Factory checked in at 2021-12-10 21:52:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ulfius (Old) and /work/SRC/openSUSE:Factory/.ulfius.new.2520 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ulfius" Fri Dec 10 21:52:36 2021 rev:24 rq:939040 version:2.7.7 Changes: -------- --- /work/SRC/openSUSE:Factory/ulfius/ulfius.changes 2021-11-09 23:55:34.107981915 +0100 +++ /work/SRC/openSUSE:Factory/.ulfius.new.2520/ulfius.changes 2021-12-10 21:53:03.938910625 +0100 @@ -1,0 +2,6 @@ +Thu Dec 9 21:35:58 UTC 2021 - Martin Hauke <mar...@gmx.de> + +- Update to version 2.7.7 + * Use `o_malloc` everywhere instead of `malloc` + +------------------------------------------------------------------- Old: ---- ulfius-2.7.6.tar.gz New: ---- ulfius-2.7.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ulfius.spec ++++++ --- /var/tmp/diff_new_pack.MNqFbq/_old 2021-12-10 21:53:04.786910999 +0100 +++ /var/tmp/diff_new_pack.MNqFbq/_new 2021-12-10 21:53:04.790911001 +0100 @@ -20,7 +20,7 @@ %define _lto_cflags %{nil} %define sover 2_7 Name: ulfius -Version: 2.7.6 +Version: 2.7.7 Release: 0 Summary: Web Framework for REST Applications in C License: MIT ++++++ ulfius-2.7.6.tar.gz -> ulfius-2.7.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.7.6/API.md new/ulfius-2.7.7/API.md --- old/ulfius-2.7.6/API.md 2021-11-05 14:17:31.000000000 +0100 +++ new/ulfius-2.7.7/API.md 2021-12-08 20:31:44.000000000 +0100 @@ -258,26 +258,27 @@ ```C /** * ulfius_init_instance - * + * * Initialize a struct _u_instance * with default values * Binds to IPV4 addresses only - * port: tcp port to bind to, must be between 1 and 65535 - * bind_address: IPv4 address to listen to, optional, the reference is borrowed, the structure isn't copied - * default_auth_realm: default realm to send to the client on authentication error - * return U_OK on success + * @param u_instance the ulfius instance to initialize + * @param port tcp port to bind to, must be between 1 and 65535 + * @param bind_address IPv4 address to listen to, optional, the reference is borrowed, the structure isn't copied + * @param default_auth_realm default realm to send to the client on authentication error + * @return U_OK on success */ -int ulfius_init_instance(struct _u_instance * u_instance, int port, struct sockaddr_in * bind_address, const char * default_auth_realm); +int ulfius_init_instance(struct _u_instance * u_instance, unsigned int port, struct sockaddr_in * bind_address, const char * default_auth_realm); /** * ulfius_init_instance_ipv6 - * + * * Initialize a struct _u_instance * with default values * Binds to IPV6 and IPV4 addresses or IPV6 addresses only - * port: tcp port to bind to, must be between 1 and 65535 - * bind_address: IPv6 address to listen to, optional, the reference is borrowed, the structure isn't copied - * network_type: Type of network to listen to, values available are U_USE_IPV6 or U_USE_ALL - * default_auth_realm: default realm to send to the client on authentication error - * return U_OK on success + * @param port tcp port to bind to, must be between 1 and 65535 + * @param bind_address IPv6 address to listen to, optional, the reference is borrowed, the structure isn't copied + * @param network_type Type of network to listen to, values available are U_USE_IPV6 or U_USE_ALL + * @param default_auth_realm default realm to send to the client on authentication error + * @return U_OK on success */ int ulfius_init_instance_ipv6(struct _u_instance * u_instance, unsigned int port, struct sockaddr_in6 * bind_address, unsigned short network_type, const char * default_auth_realm); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.7.6/CHANGELOG.md new/ulfius-2.7.7/CHANGELOG.md --- old/ulfius-2.7.6/CHANGELOG.md 2021-11-05 14:17:31.000000000 +0100 +++ new/ulfius-2.7.7/CHANGELOG.md 2021-12-08 20:31:44.000000000 +0100 @@ -1,5 +1,9 @@ # Ulfius Changelog +## 2.7.7 + +- Use `o_malloc` everywhere instead of `malloc` (#206) + ## 2.7.6 - Fix `ulfius_websocket_wait_close` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.7.6/CMakeLists.txt new/ulfius-2.7.7/CMakeLists.txt --- old/ulfius-2.7.6/CMakeLists.txt 2021-11-05 14:17:31.000000000 +0100 +++ new/ulfius-2.7.7/CMakeLists.txt 2021-12-08 20:31:44.000000000 +0100 @@ -30,7 +30,7 @@ set(PROJECT_BUGREPORT_PATH "https://github.com/babelouest/ulfius/issues") set(LIBRARY_VERSION_MAJOR "2") set(LIBRARY_VERSION_MINOR "7") -set(LIBRARY_VERSION_PATCH "6") +set(LIBRARY_VERSION_PATCH "7") set(PROJECT_VERSION "${LIBRARY_VERSION_MAJOR}.${LIBRARY_VERSION_MINOR}.${LIBRARY_VERSION_PATCH}") set(PROJECT_VERSION_MAJOR ${LIBRARY_VERSION_MAJOR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.7.6/src/Makefile new/ulfius-2.7.7/src/Makefile --- old/ulfius-2.7.6/src/Makefile 2021-11-05 14:17:31.000000000 +0100 +++ new/ulfius-2.7.7/src/Makefile 2021-12-08 20:31:44.000000000 +0100 @@ -43,7 +43,7 @@ OUTPUT=libulfius.so VERSION_MAJOR=2 VERSION_MINOR=7 -VERSION_PATCH=6 +VERSION_PATCH=7 ifndef JANSSONFLAG DISABLE_JANSSON=0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.7.6/src/u_request.c new/ulfius-2.7.7/src/u_request.c --- old/ulfius-2.7.6/src/u_request.c 2021-11-05 14:17:31.000000000 +0100 +++ new/ulfius-2.7.7/src/u_request.c 2021-12-08 20:31:44.000000000 +0100 @@ -143,7 +143,7 @@ */ static char * url_decode(const char * str) { if (str != NULL) { - char * pstr = (char*)str, * buf = malloc(strlen(str) + 1), * pbuf = buf; + char * pstr = (char*)str, * buf = o_malloc(strlen(str) + 1), * pbuf = buf; while (* pstr) { if (* pstr == '%') { if (pstr[1] && pstr[2]) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ulfius-2.7.6/src/ulfius.c new/ulfius-2.7.7/src/ulfius.c --- old/ulfius-2.7.6/src/ulfius.c 2021-11-05 14:17:31.000000000 +0100 +++ new/ulfius-2.7.7/src/ulfius.c 2021-12-08 20:31:44.000000000 +0100 @@ -1842,7 +1842,7 @@ char * ulfius_url_encode(const char * str) { char * pstr = (char*)str, * buf = NULL, * pbuf = NULL; if (str != NULL) { - buf = malloc(strlen(str) * 3 + 1); + buf = o_malloc(strlen(str) * 3 + 1); if (buf != NULL) { pbuf = buf; while (* pstr) { @@ -1876,7 +1876,7 @@ char * ulfius_url_decode(const char * str) { char * pstr = (char*)str, * buf = NULL, * pbuf = NULL; if (str != NULL) { - buf = malloc(strlen(str) + 1); + buf = o_malloc(strlen(str) + 1); if (buf != NULL) { pbuf = buf; while (* pstr) {