-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libcontainer: relax getenv_int sanity check #3489
libcontainer: relax getenv_int sanity check #3489
Conversation
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@eriksjolund can you please open a backport of this one to |
e2de218
to
00af87d
Compare
Sure.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have no memory of this check. Very strange.
Remove upper bound in integer sanity check to not restrict the number of socket-activated sockets passed in. Closes opencontainers#3488 Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
00af87d
to
03a210d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
That was my silly attempt in trying to unify the code that parses the log level with the code that parses the fd value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Ah, fair enough -- socket activation is not something we test for very thoroughly so you can't really be blamed for missing that it would break. |
Remove upper bound in integer sanity check
to not restrict the number of socket-activated
sockets passed in.
Closes #3488
Signed-off-by: Erik Sjölund erik.sjolund@gmail.com
Is this a correct way to fix the bug? (I am not familiar with runc)