-
-
Notifications
You must be signed in to change notification settings - Fork 97
Open
Description
Describe the bug
When a CP sends an LSTAT message to a python PD, the python code will have a very long report entry. When a CP sends a PD an LSTAT message, there is no data in this message, but libosdp is assuming that there is. This results in reading junk data.
Expected behavior
The PD message should not have a report entry
Observed behavior
A description of what happened.
A Comprehensive Log file
OSDP: PD-0: 2025-12-22T22:16:52Z osdp_pd.c:732 [DEBUG] CMD: LSTAT(64) REPLY: LSTATR(48)
PD: Received command: {'command': 9, 'type': 2, 'report': b'\xcc\x89$\xac2\x7f\x00\x .... (data continues on here for many many bytes)
Metadata
Metadata
Assignees
Labels
No labels