Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package neatvnc for openSUSE:Factory checked in at 2026-07-10 17:40:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/neatvnc (Old) and /work/SRC/openSUSE:Factory/.neatvnc.new.1991 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "neatvnc" Fri Jul 10 17:40:22 2026 rev:21 rq:1364807 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/neatvnc/neatvnc.changes 2026-04-28 16:40:04.154723863 +0200 +++ /work/SRC/openSUSE:Factory/.neatvnc.new.1991/neatvnc.changes 2026-07-10 17:43:09.128983576 +0200 @@ -1,0 +2,6 @@ +Fri Jul 10 04:44:22 UTC 2026 - Michael Vetter <[email protected]> + +- Update to 1.0.1: + * Improve stability by fixing uninitialised memory and possible null-dereferencing. + +------------------------------------------------------------------- Old: ---- neatvnc-1.0.0.tar.xz New: ---- neatvnc-1.0.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ neatvnc.spec ++++++ --- /var/tmp/diff_new_pack.mOxs6P/_old 2026-07-10 17:43:12.617103171 +0200 +++ /var/tmp/diff_new_pack.mOxs6P/_new 2026-07-10 17:43:12.621103308 +0200 @@ -19,7 +19,7 @@ %define libsoname libneatvnc1 Name: neatvnc -Version: 1.0.0 +Version: 1.0.1 Release: 0 Summary: A VNC server library License: ISC ++++++ _service ++++++ --- /var/tmp/diff_new_pack.mOxs6P/_old 2026-07-10 17:43:12.653104405 +0200 +++ /var/tmp/diff_new_pack.mOxs6P/_new 2026-07-10 17:43:12.657104543 +0200 @@ -3,8 +3,8 @@ <service name="obs_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/any1/neatvnc.git</param> - <param name="revision">57cc64b3871c429800e25ed5724b1b2c7a04e134</param> - <param name="versionformat">1.0.0</param> + <param name="revision">4d6d09b544d84b836cf1906735354b4e694a0c1c</param> + <param name="versionformat">1.0.1</param> </service> <service name="tar" mode="manual"/> <service name="recompress" mode="manual"> ++++++ neatvnc-1.0.0.tar.xz -> neatvnc-1.0.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-1.0.0/meson.build new/neatvnc-1.0.1/meson.build --- old/neatvnc-1.0.0/meson.build 2026-04-26 20:02:51.000000000 +0200 +++ new/neatvnc-1.0.1/meson.build 2026-07-09 20:55:08.000000000 +0200 @@ -1,7 +1,7 @@ project( 'neatvnc', 'c', - version: '1.0.0', + version: '1.0.1', license: 'ISC', default_options: [ 'c_std=gnu11', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-1.0.0/src/enc/h264/open-h264.c new/neatvnc-1.0.1/src/enc/h264/open-h264.c --- old/neatvnc-1.0.0/src/enc/h264/open-h264.c 2026-04-26 20:02:51.000000000 +0200 +++ new/neatvnc-1.0.1/src/enc/h264/open-h264.c 2026-07-09 20:55:08.000000000 +0200 @@ -371,7 +371,8 @@ assert(!self->pending_metadata); self->pending_metadata = composite->metadata; - nvnc_frame_metadata_ref(self->pending_metadata); + if (self->pending_metadata) + nvnc_frame_metadata_ref(self->pending_metadata); nvnc_trace("Scheduled encoding for %d rects", self->frame_barrier); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-1.0.0/src/enc/tight.c new/neatvnc-1.0.1/src/enc/tight.c --- old/neatvnc-1.0.0/src/enc/tight.c 2026-04-26 20:02:51.000000000 +0200 +++ new/neatvnc-1.0.1/src/enc/tight.c 2026-07-09 20:55:08.000000000 +0200 @@ -555,7 +555,8 @@ struct tight_encoder* self = aml_get_userdata(work); struct nvnc_frame_metadata* metadata = self->composite_fb.metadata; - nvnc_frame_metadata_ref(metadata); + if (metadata) + nvnc_frame_metadata_ref(metadata); nvnc_composite_fb_unref(&self->composite_fb); memset(&self->composite_fb, 0, sizeof(self->composite_fb)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-1.0.0/src/enc/zrle.c new/neatvnc-1.0.1/src/enc/zrle.c --- old/neatvnc-1.0.0/src/enc/zrle.c 2026-04-26 20:02:51.000000000 +0200 +++ new/neatvnc-1.0.1/src/enc/zrle.c 2026-07-09 20:55:08.000000000 +0200 @@ -399,7 +399,8 @@ assert(self->current_result); struct nvnc_frame_metadata* metadata = self->current_fb.metadata; - nvnc_frame_metadata_ref(metadata); + if (metadata) + nvnc_frame_metadata_ref(metadata); nvnc_composite_fb_unref(&self->current_fb); memset(&self->current_fb, 0, sizeof(self->current_fb)); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-1.0.0/src/frame.c new/neatvnc-1.0.1/src/frame.c --- old/neatvnc-1.0.0/src/frame.c 2026-04-26 20:02:51.000000000 +0200 +++ new/neatvnc-1.0.1/src/frame.c 2026-07-09 20:55:08.000000000 +0200 @@ -314,6 +314,7 @@ void nvnc_composite_fb_init(struct nvnc_composite_fb* self, struct nvnc_frame* fbs[]) { + memset(self, 0, sizeof(*self)); int i; for (i = 0; fbs[i]; ++i) { self->fbs[i] = fbs[i]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/neatvnc-1.0.0/src/server.c new/neatvnc-1.0.1/src/server.c --- old/neatvnc-1.0.0/src/server.c 2026-04-26 20:02:51.000000000 +0200 +++ new/neatvnc-1.0.1/src/server.c 2026-07-09 20:55:08.000000000 +0200 @@ -3174,14 +3174,22 @@ EXPORT struct nvnc_client* nvnc_client_first(struct nvnc* self) { - return LIST_FIRST(&self->clients); + struct nvnc_client* client; + LIST_FOREACH(client, &self->clients, link) + if (client->state == VNC_CLIENT_STATE_READY) + return client; + return NULL; } EXPORT struct nvnc_client* nvnc_client_next(struct nvnc_client* client) { assert(client); - return LIST_NEXT(client, link); + for (client = LIST_NEXT(client, link); client; + client = LIST_NEXT(client, link)) + if (client->state == VNC_CLIENT_STATE_READY) + return client; + return NULL; } EXPORT ++++++ neatvnc.obsinfo ++++++ --- /var/tmp/diff_new_pack.mOxs6P/_old 2026-07-10 17:43:12.961114966 +0200 +++ /var/tmp/diff_new_pack.mOxs6P/_new 2026-07-10 17:43:12.977115515 +0200 @@ -1,5 +1,5 @@ name: neatvnc -version: 1.0.0 -mtime: 1777226571 -commit: 57cc64b3871c429800e25ed5724b1b2c7a04e134 +version: 1.0.1 +mtime: 1783623308 +commit: 4d6d09b544d84b836cf1906735354b4e694a0c1c
