[DTV00857290][[DTV][Coverity Scanned Code Defect] 15367: Out-of-bounds write]

[Description]
Fix cid 361520 "Out-of-bounds read" in privacy.c

Change-Id: I94957d41fb85ea6fe24eb8b4151dee6be5d098d2
Signed-off-by: Danny Wu <danny.wu@mediatek.com>
CR-Id: DTV00857290
(cherry picked from commit 586c7e515c03eb3cded235d874d217d920b74038)
(cherry picked from commit 8ef224b14d6a6f6908599e02b2ec624314fe046f)
1 file changed