Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REFPLTB-3230 REFPLTB-3233 REFPLTB-3234: Potential memory leak at PSM_Get_Record_Value2 call #75

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ lib_LTLIBRARIES=libwifi.la

libwifi_la_CPPFLAGS = -D_ANSC_LINUX -D_ANSC_USER -I$(top_srcdir)/../CcspCommonLibrary/source/ccsp/custom -I$(top_srcdir)/../CcspCommonLibrary/source/ccsp/include -I$(top_srcdir)/../CcspCommonLibrary/source/debug_api/include -I$(top_srcdir)/../CcspCommonLibrary/source/cosa/include -I$(top_srcdir)/../CcspCommonLibrary/source/cosa/include/linux -I$(top_srcdir)/../CcspCommonLibrary/source/ccsp/components/include -I$(top_srcdir)/../CcspCommonLibrary/source/cosa/package/slap/include -I$(top_srcdir)/../hal/include -I$(top_srcdir)/../CcspCommonLibrary/source/util_api/http/include -I$(top_srcdir)/../CcspCommonLibrary/source/util_api/ansc/include -I$(top_srcdir)/lib -I$(top_srcdir)/lib/common -I$(top_srcdir)/../CcspCommonLibrary/source/ccsp/components/common/MessageBusHelper/include -I$(top_srcdir)/../CcspCommonLibrary/source/ccsp/components/common/PoamIrepFolder -I$(top_srcdir)/include/wifi_ssp -I$(top_srcdir)/./include

libwifi_la_CPPFLAGS +=-I$(top_srcdir)/source/dml/dml_webconfig -I$(top_srcdir)/source/dml/tr_181/ml -I$(top_srcdir)/source/dml/tr_181/sbapi -I$(top_srcdir)/include/tr_181/ml
libwifi_la_CPPFLAGS +=-I$(top_srcdir)/source/dml/dml_webconfig
if ONEWIFI_DML_SUPPORT
libwifi_la_CPPFLAGS += -I$(top_srcdir)/source/dml/tr_181/ml -I$(top_srcdir)/source/dml/tr_181/sbapi -I$(top_srcdir)/include/tr_181/ml
endif

if CCSP_ARCH_ARM
libwifi_la_CPPFLAGS += -D_ANSC_LITTLE_ENDIAN_
Expand All @@ -37,10 +40,12 @@ endif
libwifi_la_LDFLAGS=
libwifi_la_SOURCES=

if ONEWIFI_DML_SUPPORT
EXTRA_DEPENDENCIES= \
source/dml/tr_181/sbapi/libCcspWifiAgent_sbapi.la \
source/dml/tr_181/ml/libCcspWifiAgent_ml.la \
source/dml/dml_webconfig/libCcspWifiAgent_dml_webconfig.la
source/dml/dml_webconfig/libCcspWifiAgent_dml_webconfig.la
endif

libwifi_la_DEPENDENCIES= \
$(EXTRA_DEPENDENCIES)
Expand Down
2 changes: 1 addition & 1 deletion build/linux/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ HAL_LIB_SOURCES = $(filter-out $(EXCLUDE),$(wildcard $(WIFI_RDK_HAL)/src/*.c)) \

HAL_LIB_OBJECTS = $(HAL_LIB_SOURCES:.c=.o) # expands to list of object files
ALL_HAL_LIB_OBJECTS = $(HAL_LIB_OBJECTS)
HAL_LIB_FLAGS = -g -fPIC $(INCLUDE_HAL_LIB_DIRS) -DENABLE_FEATURE_MESHWIFI -DRASPBERRY_PI_PORT -D_PLATFORM_RASPBERRYPI_ -DCONFIG_HW_CAPABALITIES
HAL_LIB_FLAGS = -g -fPIC $(INCLUDE_HAL_LIB_DIRS) -DENABLE_FEATURE_MESHWIFI -DRASPBERRY_PI_PORT -D_PLATFORM_RASPBERRYPI_ -DCONFIG_HW_CAPABILITIES
HOSTAP_LIB_FLAGS = -g -fPIC $(INCLUDE_HOSTAP_LIB_DIRS) -DHOSTAPD -DCONFIG_CRYPTO_INTERNAL -DCONFIG_DRIVER_NL80211 -DNEED_AP_MLME -DCONFIG_IEEE80211AC -DCONFIG_IEEE80211AX -DCONFIG_IEEE80211N -DCONFIG_WPS -DIEEE8021X_EAPOL -DEAP_SERVER_IDENTITY -DEAP_SERVER_MD5 -DEAP_SERVER_TLS -DEAP_SERVER_MSCHAPV2 -DEAP_SERVER_PEAP -DEAP_SERVER_TTLS -DCONFIG_ECC -DRDK_ONEWIFI -DCONFIG_IEEE80211W -DCONFIG_OPENSSL_CMAC -DCONFIG_LIBNL20
HOSTAP_LIB_FLAGS += -DHOSTAPD_2_10 -DCONFIG_WEP -DFEATURE_SUPPORT_RADIUSGREYLIST -DCONFIG_DRIVER_BRCM -DCONFIG_DRIVER_BRCM_MAP

Expand Down
6 changes: 6 additions & 0 deletions config/TR181-WiFi-USGv2.XML
Original file line number Diff line number Diff line change
Expand Up @@ -2785,6 +2785,12 @@ INSTMSMT_PH2 -->
<syntax>string</syntax>
<writable>true</writable>
</parameter>
<parameter>
<name>TcmClientDenyAssociation</name>
<type>string</type>
<syntax>string</syntax>
<writable>true</writable>
</parameter>
</parameters>
<objects>
<object>
Expand Down
Loading