criu/lib/py
Radostin Stoyanov 9b919ab748 crit: fix empty string comparison
In Python 3 b'' == '' is False. This causes the info action to fail with

  File "/usr/lib/python3.11/site-packages/crit-3.17-py3.11.egg/pycriu/images/images.py", line 178, in count
    size, = struct.unpack('i', buf)
            ^^^^^^^^^^^^^^^^^^^^^^^
  struct.error: unpack requires a buffer of 4 bytes

Reported-by: Sankalp Acharya (@sankalp-12)
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2023-04-15 21:17:21 -07:00
..
images crit: fix empty string comparison 2023-04-15 21:17:21 -07:00
.gitignore python lib: rename rpc.py to rpc_pb2.py 2016-10-10 12:49:28 +03:00
__init__.py crit: make crit python2/python3 compatible 2018-07-09 18:25:16 +03:00
cli.py crit: fix error on memfd files parsing 2021-09-03 10:31:00 -07:00
criu.py py: Fix tabs in code comments 2019-09-07 15:59:57 +03:00
Makefile build: Reused .FORCE from nmk 2017-11-23 20:23:14 +03:00