diff options
| author | Ioana Ciornei <ciorneiioana@gmail.com> | 2018-05-13 16:50:57 +0300 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-05-13 16:27:22 +0200 |
| commit | 481f030ccdc0fc0749f595c1f21b8c7c101387b2 (patch) | |
| tree | a1841c618d3e8686dea44709d3b999c24a11bd62 /pkg/kernel/generated.go | |
| parent | d3a7c28ef14bbb9b17b85e6296555341a850f11f (diff) | |
executor: fix strncpy compile error
gcc8 is stricter when dealing with strings and strncpy and demands that
the size of the actual string to be copied to be explicitly smaller than
the size of the destination, just to make sure the NULL terminator is
taken into considerantion. This patch fixes the issue.
Signed-off-by: Ioana Ciornei <ciorneiioana@gmail.com>
Diffstat (limited to 'pkg/kernel/generated.go')
0 files changed, 0 insertions, 0 deletions
