From 593e1f9a3d6cec7e385def7b927dd2b811dd351c Mon Sep 17 00:00:00 2001 From: Vignesh Viswanathan Date: Fri, 6 Oct 2017 15:50:50 +0530 Subject: [PATCH] qcacld-3.0: Remove assert in wma_rx_aggr_failure_event_handler Assert was added in the wma_rx_aggr_failure_event_handler via the change Iea93e879196e9cd43856a7dcc9204d2304f76c78 and it exposes further security issues. Remove the assert in wma_rx_aggr_failure_event_handler. Change-Id: Iaef00389fa19da0fe33e3bcd6f2123e553b84dff CRs-Fixed: 2114789 --- core/wma/src/wma_features.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/wma/src/wma_features.c b/core/wma/src/wma_features.c index 9cd27be8963a..7d6cb07ae8f3 100644 --- a/core/wma/src/wma_features.c +++ b/core/wma/src/wma_features.c @@ -5419,7 +5419,6 @@ int wma_rx_aggr_failure_event_handler(void *handle, u_int8_t *event_buf, sizeof(rx_aggr_hole_event->hole_info_array[0]))) { WMA_LOGE("%s: Excess data from WMI num_failure_info %d", __func__, rx_aggr_failure_info->num_failure_info); - QDF_ASSERT(0); return -EINVAL; }