Ken ICHIKAWA
2013-05-23 05:28:12 UTC
Now, ptp4l and phc2sys accept obviously invalid arg values.
For example of logging level:
-l abcd
-l 6a
-l -1
-l 8
These values are accepted.
This patchset provides more strict arg value validation for ptp4l and
phc2sys.
Ken ICHIKAWA (3):
Add functions for input error checking
ptp4l: provide more strict arg value check
phc2sys: provide more strict arg value check
phc2sys.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------
ptp4l.c | 7 +++++-
util.c | 41 ++++++++++++++++++++++++++++++++++
util.h | 42 +++++++++++++++++++++++++++++++++++
4 files changed, 151 insertions(+), 11 deletions(-)
For example of logging level:
-l abcd
-l 6a
-l -1
-l 8
These values are accepted.
This patchset provides more strict arg value validation for ptp4l and
phc2sys.
Ken ICHIKAWA (3):
Add functions for input error checking
ptp4l: provide more strict arg value check
phc2sys: provide more strict arg value check
phc2sys.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------
ptp4l.c | 7 +++++-
util.c | 41 ++++++++++++++++++++++++++++++++++
util.h | 42 +++++++++++++++++++++++++++++++++++
4 files changed, 151 insertions(+), 11 deletions(-)