Simon Tate
8f7af4bd2d
Fix crash on no parameter_key
...
Default parameter_key to a 0 length string, instead of NULL.
Otherwise, the code in cwmp_ubus_call and blobmsg_add_string
will attempt a strlen on a NULL string, which segfaults.
2021-05-21 13:12:53 +00:00
Omar Kallel
53d5b0503a
Ticket refs #3988 : icwmpd: Unit Test of Data Model Interface and SOAP messages
2021-05-19 17:32:29 +01:00
Omar Kallel
067629637e
Ticket refs #3731 : icwmpd: Static Code Analysis (cpd)
2021-05-19 16:51:11 +01:00
Omar Kallel
218ee7fbc7
code enhancements and arrangement: session download upload scheduleInform changedustate
2021-05-18 12:34:29 +01:00
Omar Kallel
f5ac401208
Ticket refs #3731 : icwmpd: Static Code Analysis (flawfinder)
2021-04-20 17:23:04 +01:00
Omar Kallel
5b24edae8f
Ticket #4712 : icwmp: convert icwmp.sh script to a C code
2021-04-15 10:57:37 +01:00
Omar Kallel
62cdbebd70
Enhance notification functions update_notify_file and check_value_change & add the function cwmp_get_single_parameter_value to call Inform parameters instead
2021-04-15 10:57:16 +01:00
Omar Kallel
5a4e7a0cfb
Ticket refs #4423 : icwmpd: icwmpd leaks memory
2021-03-23 13:36:35 +01:00
Omar Kallel
3bd3f9093b
Fix some memory mngment issues
2021-03-05 16:32:20 +01:00
Omar Kallel
014239d54d
Fix dslform-org namespace in soap-env tag
2021-03-02 10:43:11 +01:00
Omar Kallel
fc7687de2d
Make icwmp compiling under x86
2021-01-19 17:26:46 +01:00
Omar Kallel
bf90808bbd
Revert "Fiw flawfinder errors"
...
This reverts commit 416c954c21 .
2021-01-06 14:07:42 +01:00
Omar Kallel
416c954c21
Fiw flawfinder errors
2021-01-06 11:35:58 +01:00
Omar Kallel
323fad3442
linux kernel styling complete && other cleanups
2021-01-05 15:59:16 +01:00
Omar Kallel
1d032520d0
Linux Kernel code-styling
2021-01-04 09:01:35 +01:00
Omar Kallel
71ac908626
Revert "Linux Kernel Coding Style"
...
This reverts commit a51a8eb4e7 .
2021-01-04 08:49:37 +01:00
Omar Kallel
a51a8eb4e7
Linux Kernel Coding Style
2021-01-04 08:12:14 +01:00
Omar Kallel
6cf5c90a44
remove all bbf and dmmap from icwmp
2020-12-31 18:09:58 +01:00
Omar Kallel
5c92271ba5
Ticket refs #4068 : CWMP: use usp.raw operate commands for Diagnostics
2020-12-31 18:09:27 +01:00
Omar Kallel
969d611db3
Add Werror to CFLAGS and Fix corresponding errors
2020-12-24 11:22:09 +01:00
Omar Kallel
699f340017
Ticket refs #4067 : icwmp: source code enhancements
2020-12-23 19:28:14 +01:00
Amin Ben Ramdhane
be5ba980aa
SoftwareModule: enhance ChangeDuState method
2020-12-21 20:37:44 +01:00
Omar Kallel
de35f8ef62
Fix memory leak coming from json
2020-12-18 13:31:46 +01:00
Omar Kallel
20fd75607a
use usp.raw get Device.SoftwareModules.DeploymentUnit. instead the ubus method swmodules
2020-12-15 19:17:29 +01:00
Omar Kallel
299c59f2e8
move and update some bbf functions to icwmp && Delete some libbbfdm includes and TR098 macro
2020-12-15 15:17:57 +01:00
Omar Kallel
69baee1750
Align with uspd transaction_id updates
2020-12-11 11:30:33 +01:00
Omar Kallel
f1560b1305
Add uci api & fix other issues
2020-12-09 19:03:00 +01:00
Omar Kallel
22beb8fb06
Remove icwmpd cli && add md5 api
2020-12-08 11:46:25 +01:00
Omar Kallel
ebb598cc39
Fix transaction issues
2020-12-07 09:55:57 +01:00
Omar Kallel
be813a5501
Increase ubus_invoke timeout to be able to get Device. && fix ParameterValueStruct array number elements
2020-12-02 15:12:21 +01:00
Omar Kallel
ebc9a6fd10
Use transaction ubus methods && use setm_values instead of set ubus method
2020-12-01 17:54:40 +01:00
Omar Kallel
c579c9b4e9
Use the ubus mehtod 'usp.raw init_notify' to update dm_enabled_notify file && get inform parameters from a string array
2020-11-21 02:13:40 +01:00
Omar Kallel
5fba75c401
Fix warnings
2020-11-20 11:27:12 +01:00
Omar Kallel
9a54f684df
Notification enhancements
2020-11-20 11:27:12 +01:00
Omar Kallel
31e806bc82
Fix set_values: parameterkey
2020-11-20 11:27:12 +01:00
Omar Kallel
5ea6e2e411
Ticket refs #3473 : CWMP: make icwmpd run on top of ubus usp.raw object (Apply for RPC methods)
2020-11-20 11:26:57 +01:00
Omar Kallel
bd40ad3097
revert from the commit 47934d448f xml.c changements
2020-11-20 10:48:05 +01:00
Omar Kallel
74dbf0ef31
Revert "Ticket refs #3725 : bbf: remove unnecessary arguments from object/parameter definition"
...
This reverts commit ed7eb20a1a .
2020-11-20 10:39:32 +01:00
Omar Kallel
ed7eb20a1a
Ticket refs #3725 : bbf: remove unnecessary arguments from object/parameter definition
2020-11-18 09:58:56 +01:00
Amin Ben Ramdhane
47934d448f
Ticket refs #3539 : bbf: the setting of Interface param has no effect on diagnostic objects
2020-10-19 23:13:38 +01:00
Omar Kallel
e1bc22f188
update dm_enabled_notify file after SetParameterAttributes
2020-10-08 19:07:44 +01:00
Omar Kallel
aaa92cbda4
Extract end_session_flag from bbf to icwmp
2020-10-08 19:07:14 +01:00
Omar Kallel
4ff0c1938a
Fix warnings
2020-10-08 19:06:50 +01:00
Amin Ben Ramdhane
0d3861337a
icwmp: cleanup
...
Fixed memory leak and warning of unused variable
2020-09-10 10:47:27 +01:00
Omar Kallel
ab2a378914
Ticket refs #2618 : libbbf: enhance separation between libbbf_api and libbbfdm (functions: dm_update_file_enabled_notify, copy_temporary_file_to_original_file, del_list_fault_param, json functions)
2020-06-18 12:46:19 +01:00
Omar Kallel
b245ed9115
Ticket refs #2618 : TR069: Enhance separation between libbbf_api and libbbfdm (upnp_in_user_mask)
2020-06-18 12:45:55 +01:00
Omar Kallel
e2e02f48ad
Ticket refs #2618 : TR069: Ameliorate separation between libbbf_api and libbbfdm (apply for end_session_flag)
2020-06-18 12:45:43 +01:00
Omar Kallel
3566b020b1
use mxmlGetOpaque instead of mxmlGetText
2020-06-04 13:05:28 +01:00
Omar Kallel
4807011f56
Use value.opaque instead of value.text.string
2020-06-04 13:04:25 +01:00
Omar Kallel
7efea90d4d
Reboot command key
2020-05-08 11:35:40 +01:00