diff options
author | Topi Miettinen <toiwoton@gmail.com> | 2015-01-18 16:01:25 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-01-18 21:42:00 +0100 |
commit | 43fcd650e5cb0836cfc9f667ed74b3bc0283a81c (patch) | |
tree | a5fed885d973277241400a59955acaaad6dcf5b2 /src/shared/util.c | |
parent | 50efadb0ae7bcb4fc5ce5e41163c697501ca1d50 (diff) |
timesyncd: consider too long packets as invalid
If the received NTP message from server didn't fit to our buffer, either
it is doing something nasty or we don't know the protocol. Consider the
packet as invalid.
(David: add parantheses around conditional)
Diffstat (limited to 'src/shared/util.c')
0 files changed, 0 insertions, 0 deletions