Commit graph

126 commits

Author SHA1 Message Date
suvendhu
05bab1b23d Fix probable crash 2023-04-03 12:33:44 +05:30
Suvendhu Hansa
9ee5a5a95a Remove mutex for uci operation 2023-01-31 13:55:13 +00:00
vdutta
c82bcb0e5e Removed unused --enable_acs compile flag 2022-10-08 15:00:24 +05:30
Omar Kallel
6cf345bacf check pointer NULL for XML/SOAP/uci/ubus 2022-09-16 14:31:18 +01:00
Suvendhu Hansa
cbfff1b644 Fix error handling in rpc 2022-07-14 09:42:27 +00:00
suvendhu
20e8be761b code reorganize 2022-05-05 11:49:55 +00:00
Omar Kallel
a8463946f3 icwmp: Switch to mxml for xml parsing 2022-04-18 16:54:25 +01:00
Omar Kallel
8fe0cf54ea Ticket refs #7501: icwmp: Fix static code warnings with cppcheck-2.7 2022-03-09 09:08:06 +01:00
suvendhu
cc1763399c Fixed Flawfinder Errors
(cherry picked from commit 2649eca7dd5a25cc04da30525a39bc9bd058fe92)
2022-03-04 10:49:15 +00:00
vdutta
14bfffafc3 Static code fixes 2022-02-28 21:24:58 +05:30
vdutta
6964b86095 Fix coverage in module test 2022-02-24 19:01:15 +05:30
Omar Kallel
d485fc0eef Revert DUMMY_MODE macro 2021-11-22 15:40:09 +01: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
dd51b8e770 Update year in head comment 2021-10-13 16:20:18 +01:00
Omar Kallel
49c0641b31 Ticket refs #5566: icwmp: move notifications feature from bbf to icwmp package 2021-08-09 17:22:07 +01:00
Omar Kallel
2ed3de6b28 Create new file rpc_soap.c instead of xml 2021-06-28 10:07:43 +01:00
Omar Kallel
520aac547b Ticket refs #5445: icwmp: SOAP messages unit tests 2021-06-25 11:47:05 +01:00
Amin Ben Ramdhane
a9f72148e2 exit icwmp properly when catching a signal 2021-06-24 09:10:03 +01:00
Omar Kallel
32246cad8d Ticket refs #5366: icwmp: fix transaction issue in case there are multiple RPC calls in one session 2021-06-17 15:40:59 +01:00
Omar Kallel
16659d7c16 Ticket refs #5041: cwmp: In DownloadRPC add support for '6 Stored Firmware Image' type 2021-06-04 14:49:59 +01:00
Amin Ben Ramdhane
faaedd342f Fix x86 compilation error using GCC 9 2021-06-04 14:49:41 +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
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