diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-02 15:43:41 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-03-04 21:45:45 -0500 |
commit | 2388b2f4d4481c69935abdc9c3ed9928d1f15a46 (patch) | |
tree | eda81baf5ff1633d5170cbc13e9118c4aadd3761 /src/test/test-calendarspec.c | |
parent | 72e551f40b0bcc6f59b093b70424f3af32ed759b (diff) |
networkctl: avoid reading past end of input buffer
name is IFNAMSIZ bytes, but we would copy sizeof(info->name) bytes,
which is IFNAMSIZ + 1. In effect we would go outside of the source
buffer and possibly leave a non-null terminated string in info->name.
CID #1351754.
Diffstat (limited to 'src/test/test-calendarspec.c')
0 files changed, 0 insertions, 0 deletions