[CRIU] [PATCH 0/3] A couple of fixes to tun code

Cyrill Gorcunov gorcunov at openvz.org
Fri Aug 23 12:25:18 EDT 2013


Please take a look, test is passed.

Cyrill Gorcunov (3):
  Add strlcpy helper
  tun: Check for xmalloc error
  tun: Use safe stlcpy instead of strcpy

 Makefile.config           |  3 +++
 Makefile.crtools          |  1 +
 include/string.h          | 13 +++++++++++++
 scripts/feature-tests.mak | 13 +++++++++++++
 string.c                  | 21 +++++++++++++++++++++
 tun.c                     | 11 +++++++----
 6 files changed, 58 insertions(+), 4 deletions(-)
 create mode 100644 include/string.h
 create mode 100644 string.c

-- 
1.8.1.4


More information about the CRIU mailing list