Closed surendersampath closed 1 year ago
Describe the bug In the PD side, the length is handled incorrectly for a zero length command. CMD_ABORT is a zero length command just like CMD_POLL. Hence, its length should be checked similarly as it's being done in CMD_POLL.
Expected behavior Observed behavior
Thanks for reporting it.
Btw, you could have created a PR for this change in half the time it took to create this issue. I'm not complaining, just saying :).
Thanks. Will do it next time. Cheers.
Describe the bug In the PD side, the length is handled incorrectly for a zero length command. CMD_ABORT is a zero length command just like CMD_POLL. Hence, its length should be checked similarly as it's being done in CMD_POLL.
Expected behavior
Observed behavior
![image](https://user-images.githubusercontent.com/44113702/223787266-f8df48a4-9152-4e03-bfd2-ff17478ead3f.png)