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

Andrei Vagin avagin at virtuozzo.com
Sat Sep 30 03:53:46 MSK 2017


Applied, thanks!
On Wed, Sep 27, 2017 at 12:22:13PM +0300, Stanislav Kinsburskiy wrote:
> 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