misc: qfpfuse: Fix overflow condition

Fix potential integer overflow for ioctl command to avoid incorrect
buffer allocation. Use the stack for data buffering to avoid the
small buffer allocation for improved performance. Increase the fuse
blow timeout in the driver to cover all QFPROM implementations.

CRs-Fixed: 550574,550575

Change-Id: Iee3cc1d38aa5dbf8ef693a43a0ca716fc8724c62
Acked-by: Radhakrishna Popuri <c_rpopur@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
crypto: msm: ota: fix possible buffer overflow issue

This patch replaces snprintf with scnprintf to prevent
possible buffer overflow issues

CRs-Fixed: 562347

Change-Id: I56aebd24557dccc547ff86cb8853ace0602b6e50
Acked-by: Radhakrishna Popuri <c_rpopur@qti.qualcomm.com>
Signed-off-by: Venkatesh Yadav Abbarapu <quicvenkat@codeaurora.org>
Merge "misc: qfpfuse: Fix overflow condition"
Merge "crypto: msm: ota: fix possible buffer overflow issue"
Merge "Merge "arm: mach-msm: fix integer overflow in DFE_IOCTL_COMMAND""
Merge "Merge "Merge "arm: mach-msm: fix integer overflow in DFE_IOCTL_COMMAND"""
Merge "Merge "crypto: msm: ota: fix possible buffer overflow issue""
Merge "Merge "Merge "crypto: msm: ota: fix possible buffer overflow issue"""
Merge "Merge "crypto: msm: ota: fix possible buffer overflow issue""
Merge "Merge "Merge "crypto: msm: ota: fix possible buffer overflow issue"""
Merge "crypto: msm: Verify source and destination data lengths"
Merge "Merge "crypto: msm: Verify source and destination data lengths""
Merge "Merge "Merge "crypto: msm: Verify source and destination data lengths"""
Merge "Merge "crypto: msm: Verify source and destination data lengths""
Merge "Merge "Merge "crypto: msm: Verify source and destination data lengths"""
Merge "Merge "crypto: msm: Verify source and destination data lengths""
Merge "Merge "Merge "crypto: msm: Verify source and destination data lengths"""
Merge aa7e564ca55970cb4c04613a5a5bd4850988a071 on remote branch

Change-Id: Id28af810c9c99dac9ea82710ba0795d4358d6268
Merge "Merge aa7e564ca55970cb4c04613a5a5bd4850988a071 on remote branch"