proc_parse: use the static buffer to parse mountinfo
Currently a buffer is allocated on stack and its size is 1024. Usually we use our static buffer to read proc files and its size is 4096 (page size). I know that this patch doesn't fix this problem completly, it just does it less critical. https://github.com/opencontainers/runc/issues/1070 travis-ci: success for proc_parse: use the static buffer to parse mountinfo Signed-off-by:Andrei Vagin <avagin@virtuozzo.com> Signed-off-by:
Pavel Emelyanov <xemul@virtuozzo.com>
Showing
Please
register
or
sign in
to comment