Commit graph

100 commits

Author SHA1 Message Date
Omar Kallel
8d4e865dd3 Check NULL pointer before string and memory functions calls 2022-09-26 09:45:55 +01:00
Omar Kallel
52e2807ee3 Check NULL pointer for DM_Interface/DigestAuth/Event/Config/Zlib 2022-09-23 14:54:22 +01:00
suvendhu
87cfd68e8d Fix icwmpd infinite restarts 2022-07-13 08:44:18 +05:30
Omar Kallel
491957b998 Ticket refs #7896: icwmp: Implement Heartbeat event 2022-05-23 13:06:35 +00:00
suvendhu
45dd9c22d2 T#7935 All devices send inform at same time with unknown periodic inform time 2022-05-02 13:07:49 +05:30
Omar Kallel
8fe0cf54ea Ticket refs #7501: icwmp: Fix static code warnings with cppcheck-2.7 2022-03-09 09:08:06 +01:00
vdutta
14bfffafc3 Static code fixes 2022-02-28 21:24:58 +05:30
Vivek Kumar Dutta
da88c8c286 Fix probable crashes 2022-02-11 15:41:34 +00:00
Omar Kallel
4bef706ddf Ticket refs #6614: icwmp: fix static code anlysis issues generated by cpp check 2021-11-22 15:27:44 +01:00
Omar Kallel
64310c6cf5 Remove the use of .icwmpd_boot file 2021-11-16 07:27:24 +01:00
Omar Kallel
f00765f00b Ticket refs #6311: icwmpd: crash during upgrade or factory reset 2021-11-15 20:57:50 +01:00
Amin Ben Ramdhane
61a71148da Diagnostics: Add some logs 2021-11-02 13:22:04 +01:00
Vivek Kumar Dutta
c9eac993f0 Revert "remove the use of /etc/icwmpd/.icwmpd_boot"
This reverts commit 45c842f7aa
2021-10-22 06:46:22 +00:00
Omar Kallel
dd51b8e770 Update year in head comment 2021-10-13 16:20:18 +01:00
Omar Kallel
45c842f7aa remove the use of /etc/icwmpd/.icwmpd_boot 2021-10-13 16:08:12 +01:00
Omar Kallel
da87499b16 Revert "Remove the check with the file /etc/icwmp/.icwmpd_boot"
This reverts commit 393e67dec2.
2021-09-15 14:04:17 +01:00
Omar Kallel
393e67dec2 Remove the check with the file /etc/icwmp/.icwmpd_boot 2021-09-03 12:13:50 +01:00
Omar Kallel
2ed3de6b28 Create new file rpc_soap.c instead of xml 2021-06-28 10:07:43 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +01:00
Omar Kallel
f73a82a126 Ticket refs #4935: icwmp: make all free of dynamic memory allocations (malloc, calloc, asprintf, strdup) in the end session 2021-06-04 14:49:28 +01: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
218ee7fbc7 code enhancements and arrangement: session download upload scheduleInform changedustate 2021-05-18 12:34:29 +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
5a4e7a0cfb Ticket refs #4423: icwmpd: icwmpd leaks memory 2021-03-23 13:36:35 +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
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
Omar Kallel
30fa967f87 use json_object_object_get_ex and json_object_get_string instead of cwmp_json_get_string 2020-12-17 18:33:36 +01:00
Omar Kallel
80382e4dc7 Fix seg fault && remove unused json_tokener_parse call 2020-12-17 17:18:10 +01:00
Omar Kallel
0895db688f Make check_value_change independent from libbbfdm 2020-12-17 12:33:24 +01:00
Omar Kallel
19ad191129 revert last commit 2020-12-17 12:14:25 +01:00
Amin Ben Ramdhane
651c2f4524 Align with latest bbf changes 2020-12-16 10:10:50 +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
f1560b1305 Add uci api & fix other issues 2020-12-09 19:03:00 +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
b9eddab697 Fix light weight notifications issues 2020-11-20 11:27:12 +01:00
Omar Kallel
ad798f2b9d Remove ubus call tr069 notify 2020-11-20 11:27:12 +01:00
Omar Kallel
46a8aa8400 change notification uci options names 2020-10-11 15:02:09 +02:00
Omar Kallel
532220f13e Add periodic notification check && delete icwmp_notifd 2020-10-11 15:02:06 +02:00
Omar Kallel
1ffadeab49 use dm_ctx_init instead of cwmp_dm_ctx_init 2020-10-11 15:02:03 +02:00
Omar Kallel
dd8e8634cb Inform parameters values that corresponds to 4 value change are wrong 2020-10-08 19:07:34 +01:00
Omar Kallel
82357d875b check_value_change: don't check empty parameter 2020-10-08 19:07:23 +01:00
Omar Kallel
bc7a4695ff Fix notification related bugs 2020-10-08 19:07:03 +01:00
Omar Kallel
4ff0c1938a Fix warnings 2020-10-08 19:06:50 +01:00
Omar Kallel
4d67ae68e0 use dmentry_get_parameter_leaf_value instead of dm_entry_param_method to get parameter value 2020-10-08 19:06:40 +01:00
Omar Kallel
6545b62bee Improve Start session performance 2020-10-08 19:06:29 +01:00
Omar Kallel
efa23e8983 Fix memory leak and passive notification issues 2020-10-08 19:06:18 +01:00