ANDROID: xt_quota2: clear quota2_log message before sending
authorTodd Kjos <tkjos@google.com>
Tue, 17 Aug 2021 20:29:23 +0000 (13:29 -0700)
committerPDO SCM Team <hudsoncm@motorola.com>
Mon, 6 Dec 2021 08:56:15 +0000 (03:56 -0500)
commita4d76c40c682b346744530d8b99889d30c0a95ff
tree143c179396c6372c09d0025f145080f0859e73b7
parent2d5b2bfaebea3592ddeb736eb3a7aac620a06600
ANDROID: xt_quota2: clear quota2_log message before sending

Initialize message buffer for quota2_log to avoid sending
random data.

Mot-CRs-fixed: (CR)
CVE-Fixed: CVE-2021-0961

Bug: 196046570
Test: passed netd test suites
Fixes: 10cda83af99d ("ANDROID: netfilter: xt_quota2: adding the
original quota2 from xtables-addons")
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: Ic9f34aaa2593809b375fc649b74567190c99dc62
Signed-off-by: Gajjala Chakradhar <gajjalac@motorola.com>
Reviewed-on: https://gerrit.mot.com/2123623
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
(cherry picked from commit 8e858f864cc16a7ccecb9522012a29655ed07653)
net/netfilter/xt_quota2.c