1
0
Fork 0
forked from mirror/openwrt

ucode: update to Git HEAD (2025-08-26)

2ae08749a87e ucode: add padding to uc_resource_ext_t
7931bd901222 socket: add socket.pair()
4cd07cd66ab3 socket: add socket.open()
6350e6383ff3 struct: implement X and Z formats for hex and base64 coding
e632e6da1fbc vm: fix potential eyond end of array accesses
a7ead3169ebf resolv: properly handle multiple TXT strings
9d782ea4af63 math: Add an optional range to rand()

Fixes: https://github.com/jow-/ucode/issues/315
Fixes: https://github.com/jow-/ucode/issues/321
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2025-09-14 17:04:44 +02:00
parent 73504d0b27
commit 90b01086db
2 changed files with 3 additions and 24 deletions

View file

@ -12,9 +12,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/jow-/ucode.git
PKG_SOURCE_DATE:=2025-07-18
PKG_SOURCE_VERSION:=3f64c8089bf3ea4847c96b91df09fbfcaec19e1d
PKG_MIRROR_HASH:=55fbff7c527e1fadbda2e038636f39419649841ee63a5f3cdb50b9714b13420c
PKG_SOURCE_DATE:=2025-08-26
PKG_SOURCE_VERSION:=5f712ffd3f31f13ed4812cfb37c21dbef7a75e2b
PKG_MIRROR_HASH:=6093ceb320854f4d38180f163fd702bceb8785ed6574aa145021eda82a9cf7b4
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=ISC

View file

@ -1,21 +0,0 @@
From: Felix Fietkau <nbd@nbd.name>
Date: Mon, 21 Jul 2025 21:07:17 +0200
Subject: [PATCH] ucode: add padding to uc_resource_ext_t
This ensures that user data structures tied to the ext resource are aligned
to 64 bit, as usually guaranteed by the memory allocator.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
--- a/include/ucode/types.h
+++ b/include/ucode/types.h
@@ -213,6 +213,8 @@ typedef struct {
uint32_t persistent:1;
uint32_t uvcount:8;
uint32_t datasize:20;
+
+ uint32_t _pad;
} uc_resource_ext_t;
uc_declare_vector(uc_resource_types_t, uc_resource_type_t *);