Файли
android_kernel_samsung_sm86…/components/ftm_time_sync
Srinivas Girigowda 354fd80768 qcacld-3.0: Avoid overflow of the output buffer
The 2nd parameter to qdf_scnprintf() represents size of the buffer.
If 'size' bytes is written in to the output buffer then for the next
subsequent qdf_scnprintf() 'size' bytes must be substracted from the
size of the output buffer.

The problem in this code is, 2nd parameter is mentioned as PAGE_SIZE,
but instead it should be PAGE_SIZE - size.

Change-Id: I82c6b4a279eb912c693a4f026c2f672902ce3f76
CRs-Fixed: 2760078
2020-08-26 14:32:04 -07:00
..