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
The check in tss2_tcti_device.c for a too-small buffer, using EOF return from read, doesn't work, as determined by tss2_tdcti_device-test.c.
I think the driver always returns whatever it can (either everything, or just what can fit in the buffer), then always closes the fd. So, this will always return EOF, so this check doesn't work.
The text was updated successfully, but these errors were encountered:
The check in
tss2_tcti_device.c
for a too-small buffer, using EOF return from read, doesn't work, as determined bytss2_tdcti_device-test.c
.I think the driver always returns whatever it can (either everything, or just what can fit in the buffer), then always closes the fd. So, this will always return EOF, so this check doesn't work.
The text was updated successfully, but these errors were encountered: