commit | 3a2c9b130f545121abbc96f99745c50c560282db | [log] [tgz] |
---|---|---|
author | Roland McGrath <mcgrathr@google.com> | Tue May 21 01:13:22 2019 +0000 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Tue May 21 01:13:22 2019 +0000 |
tree | cfc09d73b3eabaa2b68610baa32ecb401d89c832 | |
parent | dd04239d5d9374032e1358fc204f405bf21e0025 [diff] |
[audio-utils] Never let strncpy touch the end of the buffer It's considered best practice never to give strncpy the whole buffer, and some compilers will warn about doing so. In this case the code has no bug since it always terminates the buffer correctly after strncpy might have written a nonzero byte at the end, but the compiler doesn't notice that. Change-Id: I6c4aa72d1d33bfcd2e05fcb04e607fd0e4bdaa54
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
See Getting Started.
See the documentation.