[PATCH] uhttpd/file: fix string out of buffer range on uh_defer_script

2023-04-23 Thread Liangbin Lian
if a url path length is multiple of 8, tailing zero will be trimed out on uh_defer_script, cause a strangle error. it's simple to reproduce. 1. create a luci controller, register a entry with path length multiple of 8 (including '/cgi-bin/'), for example, '/cgi-bin/luci/admin/system/admin'. 2. s

Re: [PATCH] package/uhttpd: fix string out of buffer range on uh_defer_script

2023-04-23 Thread 练亮斌
Oh, I should send uhttpd patch, not the openwrt patch, sorry for that. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH] uhttpd/file: fix string out of buffer range on uh_defer_script

2023-04-23 Thread Liangbin Lian
if a url path length is multiple of 4, tailing zero will be trimed out on uh_defer_script, cause a strangle error. it's simple to reproduce. 1. create a luci controller, register a entry with path length multiple of 4 (including '/cgi-bin/'), for example, '/cgi-bin/luci/admin/system/admin'. 2. s

Virtualization issues w/ recent images

2023-04-23 Thread Philip Prindeville
Hi, I built an image today for x86_64/generic with a recent sync to master on openwrt and packages. I dd'd the image (squashfs-combined) to the raw disk, zero padded the disk to grow it, and booted. The VM comes up with the following devices: 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode

[PATCH] package/uhttpd: fix string out of buffer range on uh_defer_script

2023-04-23 Thread Liangbin Lian
if a url path length is multiple of 8, tailing zero will be trimed out on uh_defer_script, cause a strangle error. it's simple to reproduce. 1. create a luci controller, register a entry with path length multiple of 8 (including '/cgi-bin/'), for example, '/cgi-bin/luci/admin/system/admin'. 2. s

Re: Build problems with packages which are using openssl

2023-04-23 Thread Philip Prindeville
I don't know if it's related, but syslog-ng-3.38.1 and now -4.1.1 keep crashing in libssl.so. [ 7263.710130] syslog-ng[6648]: segfault at 180 ip 7fe55725dd43 sp 7de33ed8 error 6 in libssl.so.3[7fe557252000+45000] [ 7263.715174] Code: e8 03 00 ff 15 8e dc 05 00 31 d2 31 c0 be 11 01 00

Build problems with packages which are using openssl

2023-04-23 Thread e9hack
Hi, in the past, it was possible to build packages, which are using crypto libraries like openssl, wolfssl or mbedtls, in parallel. One was build for the image, selected as , the others were build as module selected as . This doesn't work any more, if a package is selected for usage of openssl

[sdwalker/sdwalker.github.io] c9abf3: This week's update

2023-04-23 Thread Stephen Walker via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Branch: refs/heads/master Home

Re: [PATCH] ramips: fix green LED for D-Link DAP-X1860

2023-04-23 Thread Philip Prindeville
Reviewed-by: Philip Prindeville > On Apr 23, 2023, at 7:40 AM, Sebastian Schaper > wrote: > > It was found this device uses a single tri-color power/status LED > rather than individual red/orange LEDs, which also supports green. > > Add GPIO for green color and use with `boot` and `running`

[PATCH] ramips: fix green LED for D-Link DAP-X1860

2023-04-23 Thread Sebastian Schaper
It was found this device uses a single tri-color power/status LED rather than individual red/orange LEDs, which also supports green. Add GPIO for green color and use with `boot` and `running` aliases. Signed-off-by: Sebastian Schaper --- .../linux/ramips/dts/mt7621_dlink_dap-x1860-a1.dts | 13