-
Notifications
You must be signed in to change notification settings - Fork 386
Open
Description
The following code does not check whether an error occured
Lines 544 to 545 in 4a26a1a
| if (! libcriu_wrapper->criu_check_version (LIBCRIU_MIN_VERSION)) | |
| return crun_make_error (err, 0, "libcriu is too old"); |
See criu_check_version() header:
/*
* Check if the version of the CRIU binary is at least
* 'minimum'. Version has to be in the same format as
* described for criu_get_version().
*
* Returns 1 if CRIU is at least 'minimum'.
* Returns 0 if CRIU is too old.
* Returns < 0 if there was an error.
*/
int criu_check_version(int minimum);
quote from
I noticed this when reading the source code.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels