Skip to content

Index 0 is out of bounds #6

@AlexandreOndet

Description

@AlexandreOndet

Traceback (most recent call last):
File "/usr/local/bin/stegpy", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/stegpy/steg.py", line 52, in main
host.read_message(password)
File "/usr/local/lib/python3.8/dist-packages/stegpy/lsb.py", line 45, in read_message
msg = decode_message(self.data)
File "/usr/local/lib/python3.8/dist-packages/stegpy/lsb.py", line 167, in decode_message
bits = 2 ** ((host_data[0] & 48) >> 4) # bits = 2 ^ (5th and 6th bits)
IndexError: index 0 is out of bounds for axis 0 with size 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions