]> xenbits.xensource.com Git - osstest/rumprun.git/commit
No need to use strncpy() to copy one byte (and a lot of zeroes).
authorAntti Kantee <pooka@iki.fi>
Thu, 8 Oct 2015 07:45:35 +0000 (07:45 +0000)
committerAntti Kantee <pooka@iki.fi>
Thu, 8 Oct 2015 07:45:35 +0000 (07:45 +0000)
commitbb752783a2bd7ac55916cc7568be49a18a00a6a4
treeefe76ba2cfeea3d59391be75245e3fd6526b9fad
parentdd6197fe85118bbcf6dd77a08b17fe85abbfd2d3
No need to use strncpy() to copy one byte (and a lot of zeroes).

doubly so if strncpy() is used in a way which is doesn't really
handle termination properly anyway ...
lib/libbmk_rumpuser/rumpuser_base.c