Linting: buffer size safety 11/260611/2
authorMichal Bloch <m.bloch@samsung.com>
Tue, 29 Jun 2021 18:34:57 +0000 (20:34 +0200)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 30 Jun 2021 14:00:54 +0000 (14:00 +0000)
commit5ce22392e8e12555d41262554f52ea2625e3eadb
tree26dd3227300109aca00fdc2ce44ed4d2281482ed
parentfe14752e83203faec33c88b77e8ed8c796ec05f5
Linting: buffer size safety

Make sure the buffer's actual size is used. This safeguards against
somebody changing the size of the buffer but forgetting to change
the value that gets passed as its size to other functions.

Change-Id: I12c78acf56daf55a785e9c994ca70ed34a38a1de
src/peripheral_gpio.c