Re: [OpenWrt-Devel] [PATCH] use strncpy instead of strcpy

2019-12-24 Thread Khem Raj
On Tue, Dec 24, 2019 at 1:51 PM Petr Štetiar wrote: > Khem Raj [2019-12-24 10:02:13]: > > Hi, > > use "PATCH libubox" subject prefix, because there is no blobmsg.c file in > the > main tree. > > > Fixes error: '__builtin_strcpy' offset 6 from the object at 'attr' is > out of > > the bounds of re

Re: [OpenWrt-Devel] [PATCH] use strncpy instead of strcpy

2019-12-24 Thread Petr Štetiar
Khem Raj [2019-12-24 10:02:13]: Hi, use "PATCH libubox" subject prefix, because there is no blobmsg.c file in the main tree. > Fixes error: '__builtin_strcpy' offset 6 from the object at 'attr' is out of > the bounds of referenced subobject 'name' with type 'uint8_t[0]' {aka > 'unsigned char[0]

[OpenWrt-Devel] [PATCH v2] ath79: tp-link: use ath10k-ct-smallbuffers for 64 MiB devices

2019-12-24 Thread Paul Fertser
Signed-off-by: Paul Fertser --- target/linux/ath79/image/generic-tp-link.mk | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk index 8a030492c5..97c4bb9441 100644 --- a/target/l

Re: [OpenWrt-Devel] [PATCH] ath79: tp-link: use ath10k-ct-smallbuffers for 64 MiB devices

2019-12-24 Thread Paul Fertser
On Tue, Dec 24, 2019 at 09:27:21PM +0100, Lech Perczak wrote: > > On Tue, Dec 24, 2019 at 08:26:09PM +0100, Lech Perczak wrote: > > > I think that TL-WR902AC v1 should be included as well, as it is 64M device > > > and I also experienced issues with ath10k-ct on it while porting. > > Device like th

Re: [OpenWrt-Devel] [PATCH] ath79: tp-link: use ath10k-ct-smallbuffers for 64 MiB devices

2019-12-24 Thread Lech Perczak
Hi, Answers inline. W dniu 2019-12-24 o 20:47, Paul Fertser pisze: Hi Lech, Any reason you omit the list from Cc? This way nobody but me is going to comment on your message and I'm obviously biased :) Just forgot to use "reply to all". On Tue, Dec 24, 2019 at 08:26:09PM +0100, Lech Perczak w

Re: [OpenWrt-Devel] [PATCH] use strncpy instead of strcpy

2019-12-24 Thread Khem Raj
On Tue, Dec 24, 2019 at 10:10 AM Paul Fertser wrote: > Hi, > > On Tue, Dec 24, 2019 at 10:02:13AM -0800, Khem Raj wrote: > > + hdr->name[strlen((char*)hdr->name)] = '\0'; > > + strncpy((char *) hdr->name, (const char *)name, > strlen((char*)hdr->name)); > > strlen((char*)hdr->name) doesn'

Re: [OpenWrt-Devel] OpenWrt 19.07 final timeline

2019-12-24 Thread Tom Psyborg
Hi And what about this one? https://bugs.openwrt.org/index.php?do=details&task_id=2593 Some regulatorty bugs? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH] use strncpy instead of strcpy

2019-12-24 Thread Paul Fertser
Hi, On Tue, Dec 24, 2019 at 10:02:13AM -0800, Khem Raj wrote: > + hdr->name[strlen((char*)hdr->name)] = '\0'; > + strncpy((char *) hdr->name, (const char *)name, > strlen((char*)hdr->name)); strlen((char*)hdr->name) doesn't seem to be meaningful in this context, are you sure you were not

[OpenWrt-Devel] [PATCH] use strncpy instead of strcpy

2019-12-24 Thread Khem Raj
Fixes error: '__builtin_strcpy' offset 6 from the object at 'attr' is out of the bounds of referenced subobject 'name' with type 'uint8_t[0]' {aka 'unsigned char[0]'} at offset 6 [-Werror=array-bounds] Signed-off-by: Khem Raj --- blobmsg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-

[OpenWrt-Devel] [PATCH] ipq40xx: use ath10k-ct-smallbuffers for 128 MiB devices

2019-12-24 Thread Paul Fertser
Signed-off-by: Paul Fertser --- target/linux/ipq40xx/image/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/ipq40xx/image/Makefile b/target/linux/ipq40xx/image/Makefile index fada35a49d..1fe563c7a5 100644 --- a/target/linux/ipq40xx/image/Makefile +++ b

[OpenWrt-Devel] [PATCH] ath79: tp-link: use ath10k-ct-smallbuffers for 64 MiB devices

2019-12-24 Thread Paul Fertser
Signed-off-by: Paul Fertser --- target/linux/ath79/image/generic-tp-link.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/target/linux/ath79/image/generic-tp-link.mk b/target/linux/ath79/image/generic-tp-link.mk index 8a030492c5..f4e16e6e43 100644 --- a/target/linux/a

[OpenWrt-Devel] OpenWrt 19.07 final timeline

2019-12-24 Thread Hauke Mehrtens
Hi, I would like to tag 18.06.6 release in the evening of Wednesday 1. January and then start the builders. I would like to tag 19.07 final release on Friday 3. January and the start the builders on Saturday or Sunday. Are there any objections to these dates? Both releases should fix all known

[OpenWrt-Devel] petition: start an slightly frozen branch based on snapshot (future 20.x ? release)

2019-12-24 Thread Pedro
Dear List, Most of the new devices that are coming, or that are useful for us as community networks are in the snapshot release [1] [2] [3]. I feel the new 19.07 is not benefiting this new devices that will remain unsupported by a stable branch (most of them, based on ath10k / 802.11ac). We are b

[OpenWrt-Devel] [PATCH for-19.07] ath79: use ath10k-ct-smallbuffers for 64 MiB devices

2019-12-24 Thread Paul Fertser
Signed-off-by: Paul Fertser --- target/linux/ath79/image/generic-tp-link.mk | 14 +++--- target/linux/ath79/image/generic-ubnt.mk| 8 target/linux/ath79/image/generic.mk | 6 +++--- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/target/linux/ath79/