From: Wang Mingyu <[email protected]>

0001-Use-aml-v1.patch
refreshed for 0.9.6

Changelog:
===========
- auth: rsa-aes: Fix potential buffer overflow
- auth: vencrypt: Reject excessively long usernames and passwords

Signed-off-by: Wang Mingyu <[email protected]>
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 9222ec03c3bb15a9b927cff1a744b180aa4d1dff)
Signed-off-by: Ankur Tyagi <[email protected]>
---
 .../neatvnc/neatvnc/0001-Use-aml-v1.patch     | 21 ++++++++-----------
 .../{neatvnc_0.9.5.bb => neatvnc_0.9.6.bb}    |  2 +-
 2 files changed, 10 insertions(+), 13 deletions(-)
 rename meta-oe/recipes-graphics/neatvnc/{neatvnc_0.9.5.bb => neatvnc_0.9.6.bb} 
(96%)

diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch 
b/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch
index 26c3a0230c..7413316bcc 100644
--- a/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch
+++ b/meta-oe/recipes-graphics/neatvnc/neatvnc/0001-Use-aml-v1.patch
@@ -1,4 +1,4 @@
-From a4b238241f3f3016ef3ddcd260c1490a9c9e8168 Mon Sep 17 00:00:00 2001
+From 8b95d3c1d5f475668d53cc21a7abf431d9a9822b Mon Sep 17 00:00:00 2001
 From: Andri Yngvason <[email protected]>
 Date: Sun, 23 Mar 2025 15:55:11 +0000
 Subject: [PATCH] Use aml v1
@@ -15,13 +15,13 @@ Upstream-Status: Backport 
[https://github.com/any1/neatvnc/commit/a4b238241f3f30
  src/server.c                |  6 ++----
  src/stream/gnutls.c         |  6 +++---
  src/stream/tcp.c            |  6 +++---
- 11 files changed, 35 insertions(+), 41 deletions(-)
+ 10 files changed, 34 insertions(+), 39 deletions(-)
 
 diff --git a/meson.build b/meson.build
-index 1017ffd..e731886 100644
+index a0d7401..b094d9b 100644
 --- a/meson.build
 +++ b/meson.build
-@@ -71,7 +71,7 @@ libavcodec = dependency('libavcodec', required: 
get_option('h264'))
+@@ -63,7 +63,7 @@ libavcodec = dependency('libavcodec', required: 
get_option('h264'))
  libavfilter = dependency('libavfilter', required: get_option('h264'))
  libavutil = dependency('libavutil', required: get_option('h264'))
  
@@ -159,10 +159,10 @@ index a361974..441df19 100644
        struct encoded_frame* result;
        result = encoded_frame_new(self->dst.data, self->dst.len, self->n_rects,
 diff --git a/src/enc/zrle.c b/src/enc/zrle.c
-index 42044dc..e775f34 100644
+index 503c738..c043983 100644
 --- a/src/enc/zrle.c
 +++ b/src/enc/zrle.c
-@@ -315,9 +315,9 @@ static int zrle_encode_frame(struct zrle_encoder* self,
+@@ -340,9 +340,9 @@ static int zrle_encode_frame(struct zrle_encoder* self, 
z_stream* zs,
        return 0;
  }
  
@@ -174,7 +174,7 @@ index 42044dc..e775f34 100644
        int rc __attribute__((unused));
  
        struct nvnc_fb* fb = self->current_fb;
-@@ -349,9 +349,9 @@ static void zrle_encoder_do_work(void* obj)
+@@ -374,9 +374,9 @@ static void zrle_encoder_do_work(void* obj)
        assert(self->current_result);
  }
  
@@ -215,7 +215,7 @@ index e24798b..8f4cfa0 100644
  }
  
 diff --git a/src/server.c b/src/server.c
-index f172658..61da4dd 100644
+index a4f0ad9..099be28 100644
 --- a/src/server.c
 +++ b/src/server.c
 @@ -210,9 +210,8 @@ static void client_close(struct nvnc_client* client)
@@ -229,7 +229,7 @@ index f172658..61da4dd 100644
        struct nvnc_client* client = aml_get_userdata(idle);
        client->close_task = NULL;
        aml_stop(aml_get_default(), idle);
-@@ -2033,9 +2032,8 @@ static void on_client_event(struct stream* stream, enum 
stream_event event)
+@@ -2013,9 +2012,8 @@ static void on_client_event(struct stream* stream, enum 
stream_event event)
        client->buffer_index = 0;
  }
  
@@ -276,6 +276,3 @@ index 37f139a..95f5aa8 100644
  
        // We hold a reference here in case the stream gets destroyed inside
        // callback.
--- 
-2.43.0
-
diff --git a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.5.bb 
b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb
similarity index 96%
rename from meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.5.bb
rename to meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb
index b83a886f11..34cfbf18cc 100644
--- a/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.5.bb
+++ b/meta-oe/recipes-graphics/neatvnc/neatvnc_0.9.6.bb
@@ -10,7 +10,7 @@ SRC_URI = 
"git://github.com/any1/neatvnc;branch=v0.9;protocol=https \
            file://0001-Use-aml-v1.patch \
           "
 
-SRCREV = "36ef59a83291368d72f471700702a8b6a76f763b"
+SRCREV = "3295c11b934a83dbcb44beabf3f21a8b885a2d11"
 
 
 DEPENDS = "libdrm pixman aml zlib"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127152): 
https://lists.openembedded.org/g/openembedded-devel/message/127152
Mute This Topic: https://lists.openembedded.org/mt/119451367/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to