mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
For character values above 127, the signed char that could be used here did the wrong thing. That is, *it >> 4 returned a negative value and the array hexdigits was read indexed with that wrong value. Fix this by explicitly using unsigned char. Thanks to crocket for reporting this bug which he found with perform (broken entries after a restart/reload). Signed-off-by: Uli Schlachter <psychon@znc.in>
26 KiB
26 KiB