[CRIU] [PATCH v3 0/2] autofs: fix "pipe_ino" option parsing

Stanislav Kinsburskiy skinsbursky at virtuozzo.com
Wed Sep 27 12:22:13 MSK 2017


This series fixes the folowing issue for big inode numbers:

(12.586140) Error (criu/autofs.c:185): Master 847488 doesn't have a read end
of the pipe with inode -1991200604 opened

v3:
1) Added string print to convertion error message in xatol_base()
2) Added check for INT range in xatoi()

v2: fixed uninitialized "err" variable in "parse_options" function

The following series implements...

---

Stanislav Kinsburskiy (2):
      util: xatol() and xatoi()  helpers introduced
      autofs: use safe xatol() and xatoi() helpers


 criu/autofs.c       |   28 ++++++++++++++++++----------
 criu/include/util.h |    3 +++
 criu/util.c         |   45 +++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 66 insertions(+), 10 deletions(-)


More information about the CRIU mailing list