forked from docker-archive/docker-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix possible runtime panic in Lgetxattr
If `unix.Lgetxattr` returns an error, then `sz == -1` which will cause a runtime panic if `errno == unix.ERANGE`. Signed-off-by: Sascha Grunert <[email protected]> Upstream-commit: 4138cd22abeaa7d1c49a96fa4c0045feb32b847e Component: engine
- Loading branch information
1 parent
b873ca1
commit b1d0535
Showing
1 changed file
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters