Daniel Danzberger
258331fdd5
Fix memleaks from not freed regcomp allocations
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
65cacf7f49
Fix memleaks created by calls to strsplit
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
313cb9921c
Fix get_USB_InterfaceNumberOfEntries memory issues
...
- Fix Leaking on buffer allocation by using stack buffer
- Fix access on uninitalized and not zero terminated string returnd from
readlink()
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
ef6f0cafe4
Add missing format string character
...
This fixes segfaults on get_IPInterfaceIPv6Prefix_ParentPrefix calls.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
e7084843b8
Fix segfaults on returned NULL pointers
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
cdf945ac57
Avoid strlen on uninitialized memory
...
Update fsize by the actual read bytes from fread,
because ftell will always return 4k on sysfs files.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
ddf03e43c7
Fix segfault when /etc/bbfm/[pkg] can't be created
...
Use unified function 'dmmap_file_path_get' and reuse it in
every function where the segfault occured.
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:28 +01:00
Daniel Danzberger
2c118cd2b3
Fix several segfaults when UCI values are not available
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:27 +01:00
Daniel Danzberger
e113575168
Fix undefined reference errors when linking aginst libbbfdm.so
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:27 +01:00
Daniel Danzberger
4913850a10
Add install include files to automake
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:27 +01:00
Daniel Danzberger
8fb844f970
Fix memory issues on 64bit systems
...
Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com>
2020-02-19 11:51:27 +01:00
Jomily K Joseph
c0bb8e7f24
Revert "Layer2 Deployment : Changes done to support VLAN deployments for layer 2"
...
This reverts commit 1f3e1d8744
2020-02-19 06:04:37 +01:00
jjoseph
1f3e1d8744
Layer2 Deployment : Changes done to support VLAN deployments for layer 2
...
- Changes done in Bridging.Bridge.X.Port, Bridging.Bridge.X.VLAN Objects
- Changes done in IP.Interface Objects
- Changes done in Ethernet Objects
TODO : Few more deployments needs to be covered. Also to add supoort for
VLANPort and VLANTermination.
2020-02-18 16:05:29 +05:30
Amin Ben Ramdhane
4f8a100d7a
Update README.md
2020-02-16 23:00:48 +01:00
Amin Ben Ramdhane
ff14c27fc3
clean up the source code
...
- remove unused variables
- fix coding style of most function (Indentation, Tabulation, ..)
- check the source code using cppcheck tool
- change sprintf by snprintf
2020-02-12 19:08:49 +01:00
Amin Ben Ramdhane
c76b2f3354
Add a comment for unsupported parameters
2020-02-11 13:57:07 +01:00
Omar Kallel
142e830426
Fix compiling errors when TR064 is activated
2020-02-10 18:56:13 +01:00
Omar Kallel
3ca094e06f
Device.UPnP. object code review: LGPL License comment, remove unused variables, segmentation fault
2020-02-10 12:40:23 +01:00
Omar Kallel
dd91c79319
Ticket refs #1334 : TR-181: Device.UPnP. object
2020-02-07 16:36:11 +01:00
vdutta
fdb4b9ab76
bbf: Update db parameters
2020-02-04 12:19:19 +05:30
Amin Ben Ramdhane
4ab526b9f2
Ticket refs#1598: libbbfdm: plug-in based with support for dynamic loading of libraries + separate libbbfdm into two libraries: libbbf_api (API) and libbbfdm (data model)
2020-01-21 22:43:37 +01:00
Amin Ben Ramdhane
bb70a0129c
Fix the 9005 issue of GetParameterValue 'Device.WiFi.NeighboringWiFiDiagnostic.Result.' parameters
2020-01-16 16:35:45 +01:00
Amin Ben Ramdhane
87df704882
Fix memory leak in 'Device.ManagementServer.ConnReqJabberID' parameter
2019-12-28 14:29:21 +01:00
Amin Ben Ramdhane
fc96c5f78b
change 'twamp_refector' to 'twamp_reflector'
2019-12-28 12:57:49 +01:00
Omar Kallel
64b64bcaa9
Device.User segfault
2019-12-27 18:30:33 +01:00
Amin Ben Ramdhane
ed50a21c79
Change the value of 'Device.Users.User.{i}.Password' parameter to empty according to the standard
2019-12-20 23:50:30 +01:00
Amin Ben Ramdhane
8eed245614
Change the value of 'Device.ManagementServer.STUNPassword' parameter to empty according to the standard
...
Change the value of 'Device.ManagementServer.ConnReqXMPPConnection' parameter to empty if xmpp config is not supported
2019-12-20 23:49:35 +01:00
Amin Ben Ramdhane
31b2dc70ca
Change License to LGPLv2.1 in the generator code file
2019-12-20 23:19:25 +01:00
Amin Ben Ramdhane
1c4ac9eb9e
Fix of missing parameters in Excel file
2019-12-20 23:08:44 +01:00
Omar Kallel
b46d5e05ac
Device.Ethernet.Link. DeleteObject
2019-12-19 15:47:21 +01:00
Omar Kallel
aacf209044
Fix VLANTermination LowerLayers
2019-12-19 10:14:49 +01:00
Amin Ben Ramdhane
6441cc6001
Fix the value of Device.Services.VoiceService.{i}.VoiceProfile.{i}.Line.{i}.SIP.URI parameter
2019-12-17 17:52:46 +01:00
Amin Ben Ramdhane
7b95853bdf
Fix the value of Device.WiFi.NeighboringWiFiDiagnostic.Result.{i}.Noise parameter
2019-12-17 11:46:52 +01:00
Amin Ben Ramdhane
a280a11f46
Fix the value of Device.DynamicDNS.SupportedServices parameter
2019-12-17 11:31:24 +01:00
Omar Kallel
baed5957f0
Device.GRE: segmentation fault
2019-12-16 15:40:31 +01:00
Amin Ben Ramdhane
0ea0b2c89a
add break if res is NULL
2019-12-10 10:34:25 +01:00
Amin Ben Ramdhane
fd60013d1a
Ticket refs #1365 : TR-157: Device.SoftwareModules. object
2019-12-07 13:29:43 +01:00
Sukru Senli
1e11720828
Change License to LGPLv2.1
2019-12-04 09:52:05 +01:00
Amin Ben Ramdhane
0bef3b715b
check the pointer before freeded it
2019-12-03 11:30:18 +01:00
Feten Besbes
b89c48507e
Refs #17349 : InternetGatewayDevice.UPnP.Device.Enable is broken
2019-11-29 15:29:37 +01:00
Amin Ben Ramdhane
8ab504585c
Fix memory leaks and all warnings
2019-11-11 10:46:10 +01:00
Amin Ben Ramdhane
8b6a24669f
Merge branch 'fix_neighboring_wifi_diagnostic' into 'devel'
...
bbf: Fix Device.WiFi.NeighboringWiFiDiagnostic
See merge request iopsys/bbf!1
2019-11-05 19:08:48 +01:00
yyashvardhan
7df5f00548
bbf: Fix Device.WiFi.NeighboringWiFiDiagnostic
2019-11-05 17:43:47 +05:30
Amin Ben Ramdhane
a33b47b9c3
Ticket #1335 : TR-181: Device.DynamicDNS. object
2019-11-02 12:18:36 +01:00
Amin Ben Ramdhane
7d2d176924
Add README.md file
2019-10-28 10:54:25 +01:00
Omar Kallel
b131200da9
Ticket resfs #1263 : TR-181: Device.GRE object (Fixes)
2019-10-25 11:06:45 +01:00
Omar Kallel
8be4f1a13d
Ticket resfs #1263 : TR-181: Device.GRE object
2019-10-24 17:07:11 +01:00
Amin Ben Ramdhane
e6f6d8aa4a
upgrade the data models used to version 2.13
2019-10-24 11:46:26 +01:00
Amin Ben Ramdhane
a5f3a4fc7a
Adapt the 'generate_xml.sh' script to the new way of datamodel
2019-10-23 19:01:37 +01:00
Amin Ben Ramdhane
f8a23753dc
Adapt the 'generate_xml_bbf.sh' script to the new way of datamodel
2019-10-23 18:45:22 +01:00