[OpenWrt-Devel] uci: invalid reads/writes found by valgrind

2016-05-19 Thread Reiner Herrmann
Hi, valgrind found some invalid reads/writes when updating sections (see below). The problem seems to be in list.c, where sections are updated: } else if (ptr->s && ptr->section) { /* update section */ char *s = uci_strdup(ctx, ptr->value); if (ptr->s->type ==

[OpenWrt-Devel] [PATCH 2/2] Prevent more gzip timestamps

2015-07-12 Thread Reiner Herrmann
To improve reproducibility, prevent the inclusion of timestamps in the gzip header. Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- docs/adding.tex| 2 +- include/image.mk | 2 +- package/Makefile

[OpenWrt-Devel] [PATCH 1/2] ipkg-build: use deterministic timestamps in ipk tarballs

2015-07-12 Thread Reiner Herrmann
As a follow-up to r46026, this commit sets the modification times of files inside the tarballs to deterministic values. It uses the date of the last git or svn commit and falls back to the old behavior if those are not available. Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- scripts/ipkg

[OpenWrt-Devel] [PATCH] ipkg-build: suppress timestamps in gzip headers

2015-06-17 Thread Reiner Herrmann
detailed motivations. [1]: https://wiki.debian.org/ReproducibleBuilds/About Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- scripts/ipkg-build | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/ipkg-build b/scripts/ipkg-build index c466f28..6787ed4 100755 --- a/scripts/ipkg-build +++ b

[OpenWrt-Devel] [PATCH] hostapd: read missing parameter for dynamic VLANs

2014-09-26 Thread Reiner Herrmann
In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming parameter is not read while setting up the config, so it always defaults to 1. Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- package/network/services/hostapd/files/netifd.sh | 2 +- 1 file changed, 1 insertion(+), 1

[OpenWrt-Devel] [PATCH] fix remote logging

2014-07-02 Thread Reiner Herrmann
in r41439 a flag for enabling remote logging was added, but the actual check was done on a different variable. Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- package/system/ubox/files/log.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/system/ubox/files

[OpenWrt-Devel] [PATCH] hostapd: replace undefined $bridge with $network_bridge

2014-06-04 Thread Reiner Herrmann
Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- package/network/services/hostapd/files/netifd.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/network/services/hostapd/files/netifd.sh b/package/network/services/hostapd/files/netifd.sh index 1cc5713

[OpenWrt-Devel] [PATCH] hostapd: move reading of rsn_preauth out of auth_type=eap context

2014-06-04 Thread Reiner Herrmann
rsn_preauth is used outside of case $auth_type, so if it is set for an EAP-enabled SSID, it would also be set for the following non-EAP-enabled SSIDs, because it would not be read again. Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- package/network/services/hostapd/files/netifd.sh | 6

[OpenWrt-Devel] [PATCH] reset ht_capab for each device

2014-05-06 Thread Reiner Herrmann
... or else option htmode is added multiple times to the second and following device sections. Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/kernel/mac80211/files/lib/wifi

[OpenWrt-Devel] [PATCH 2/2] ubox: allow limiting of logs to specified priority

2014-02-12 Thread Reiner Herrmann
Syslogd from busybox allows logging of only the messages that have a higher severity (i.e. lower value) than a specified limit. This patch adds the same functionality to logread. As -l is already used by logread, I chose -n. Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- log/logread.c

[OpenWrt-Devel] [PATCH 1/2] ubox: remove unused logread parameter

2014-02-12 Thread Reiner Herrmann
Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- log/logread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log/logread.c b/log/logread.c index 8c9fda8..f677b44 100644 --- a/log/logread.c +++ b/log/logread.c @@ -305,7 +305,7 @@ int main(int argc, char **argv

[OpenWrt-Devel] [PATCH] [packages] dropbear: update to 2013.62

2014-01-31 Thread Reiner Herrmann
support ecdsa and refresh patches Signed-off-by: Reiner Herrmann rei...@reiner-h.de --- package/network/services/dropbear/Makefile | 8 +--- .../network/services/dropbear/files/dropbear.init | 11 +++ .../services/dropbear/patches/100-pubkey_path.patch | 4

Re: [OpenWrt-Devel] [PATCH] [packages] dropbear: update to 2013.62

2014-01-31 Thread Reiner Herrmann
On Fri, Jan 31, 2014 at 01:22:32PM +0100, Jo-Philipp Wich wrote: whats the size increase of the dropbear package? 2013.59: 80789 bytes 2013.62: 98661 bytes So the increase is about 18 kB. signature.asc Description: Digital signature ___