You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to add a file into an UDF ISO with 255 "A" as filename, for testing. When I do, it raises the following error:
/pycdlib/udf.py", line 4561, in record rec = struct.pack(self.FMT, b'\x00' * 16, 1, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^struct.error: 'B' format requires 0 <= number <= 255
It seems that the identifier is included in the filename packing, which makes it 256. As a filename with 255 characters should be allowed, I am guessing that there is an off-by-one error here ?
Thanks !
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to add a file into an UDF ISO with 255 "A" as filename, for testing. When I do, it raises the following error:
Looking at
fi
variable:b'\x08AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'
It seems that the identifier is included in the filename packing, which makes it 256. As a filename with 255 characters should be allowed, I am guessing that there is an off-by-one error here ?
Thanks !
The text was updated successfully, but these errors were encountered: