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 triggered a simple oversight in master, in src/conn.c it says
#ifdef DEBUG
logw(5, "conn[%s]: request data len changed from %d to %d",
MB_FRAME(conn->buf, MB_LENGTH_L), len);
#endif
There should be 3 arguments after the logw() format string, not 2. The crashing stopped when I changed [%s] to [%%s].
I may have been doing something wrong —I am starting a project and am may be sending invalid packets— but your dæmon might want to stick around to tell me off :-)
The text was updated successfully, but these errors were encountered:
To test, I reconstructed the situation because it was originally my bug triggering yours; my bug has since been fixed. So I added an else branch printing to also produce this error, I saw that crash in the same manner, and then applied your fix to see the crash gone.
I triggered a simple oversight in
master
, insrc/conn.c
it saysThere should be 3 arguments after the
logw()
format string, not 2. The crashing stopped when I changed[%s]
to[%%s]
.I may have been doing something wrong —I am starting a project and am may be sending invalid packets— but your dæmon might want to stick around to tell me off :-)
The text was updated successfully, but these errors were encountered: