Re: [OpenWrt-Devel] [PATCH] netifd: Fix possible segfault in bridge code

2013-11-29 Thread Helmut Schaa
On Fri, Nov 29, 2013 at 3:34 PM, Felix Fietkau wrote: > On 2013-11-29 15:22, Helmut Schaa wrote: >> Need to check calloc result. In case of failure the bridge member will be >> missing. >> >> Signed-off-by: Helmut Schaa > Pushed to git, thanks. > It will be committed to OpenWrt once I'm done wit

Re: [OpenWrt-Devel] [PATCH] netifd: Fix possible segfault in bridge code

2013-11-29 Thread Felix Fietkau
On 2013-11-29 15:22, Helmut Schaa wrote: > Need to check calloc result. In case of failure the bridge member will be > missing. > > Signed-off-by: Helmut Schaa Pushed to git, thanks. It will be committed to OpenWrt once I'm done with the integration of the new wireless code. - Felix ___

[OpenWrt-Devel] [PATCH] netifd: Fix possible segfault in bridge code

2013-11-29 Thread Helmut Schaa
Need to check calloc result. In case of failure the bridge member will be missing. Signed-off-by: Helmut Schaa --- bridge.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridge.c b/bridge.c index 0e06cc2..4ef0d7e 100644 --- a/bridge.c +++ b/bridge.c @@ -318,6 +318,9 @@ bridge_create_me