On Wed Feb 5 18:41:20 2025 +0000, Michael Stefaniuc wrote:
No `magic` is always initialized to all 0 on each itteration of the for loop:
for (i = 0;; i++) { BYTE magic[4] = {0}, last_status = 0;
A short read won't change that.
Ah, right Rémi said to remove this initialization and I forgot... So either remove this init and keep the `read < sizeof(magic)` check, or remove that and keep this init. I don't have a preference here.