Files
openwrt_yocto/meta-openembedded/meta-webserver/recipes-webadmin/webmin/files/0001-Object-names-cannot-contact-special-characters.patch
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

27 lines
858 B
Diff

From 8470368e42af2b66a31a112299df6239fccf111e Mon Sep 17 00:00:00 2001
From: Jamie Cameron <jcameron@webmin.com>
Date: Sat, 3 Aug 2019 22:41:37 -0700
Subject: [PATCH] Object names cannot contact special characters
CVE: CVE-2019-15642
Upstream-Status: Backport [https://github.com/webmin/webmin/commit/df8a43fb4bdc9c858874f72773bcba597ae9432c]
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
web-lib-funcs.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl
index df673bb7..bbe154a9 100755
--- a/web-lib-funcs.pl
+++ b/web-lib-funcs.pl
@@ -7102,7 +7102,7 @@ elsif ($v[0] eq 'REF') {
elsif ($v[0] eq 'UNDEF') {
$rv = undef;
}
-elsif ($v[0] =~ /^OBJECT\s+(.*)$/) {
+elsif ($v[0] =~ /^OBJECT\s+([A-Za-z0-9_:]+)$/) {
# An object hash that we have to re-bless
my $cls = $1;
$rv = { };