)]}'
{"src/openvpn/manage.c":[{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"73c6cbbcd5b86bd0d6cb23297862871a7206e4dc","unresolved":true,"context_lines":[{"line_number":3682,"context_line":"            char *user64 \u003d NULL;"},{"line_number":3683,"context_line":"            if (openvpn_base64_encode(up-\u003eusername, (int)strlen(up-\u003eusername), \u0026user64) !\u003d -1)"},{"line_number":3684,"context_line":"            {"},{"line_number":3685,"context_line":"                if (!buf_printf(\u0026alert_msg, \" UN:%s\", user64))"},{"line_number":3686,"context_line":"                {"},{"line_number":3687,"context_line":"                    msg(M_WARN | M_INFO, \"UN:\u003cusername\u003e in user-pass prompt sent to management got truncated.\");"},{"line_number":3688,"context_line":"                }"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"57844a87_beb7402a","line":3685,"updated":"2026-10-30 20:59:15.000000000","message":"`buf_printf()` keeps only partial text on overflow, so a long username sends a truncated `UN:` and squeezes `SC:` out.\n\nWe might want to either size alert_msg from `strlen(user64)` and `strlen(sc)`, or append `UN:` only if it fits, with room left for `SC:`.\n\nBut granted, this is probably a corner case and most real-world usage fits within 256 characters.","commit_id":"fcd51de7b4ed18d43d6acdec8bf148cf6323ffeb"},{"author":{"_account_id":1000009,"name":"Selva Nair","display_name":"Selva Nair","email":"selva.nair@gmail.com","username":"selvanair"},"change_message_id":"a65745d39dfdedd1cf26e26460433f0ef916d05a","unresolved":true,"context_lines":[{"line_number":3682,"context_line":"            char *user64 \u003d NULL;"},{"line_number":3683,"context_line":"            if (openvpn_base64_encode(up-\u003eusername, (int)strlen(up-\u003eusername), \u0026user64) !\u003d -1)"},{"line_number":3684,"context_line":"            {"},{"line_number":3685,"context_line":"                if (!buf_printf(\u0026alert_msg, \" UN:%s\", user64))"},{"line_number":3686,"context_line":"                {"},{"line_number":3687,"context_line":"                    msg(M_WARN | M_INFO, \"UN:\u003cusername\u003e in user-pass prompt sent to management got truncated.\");"},{"line_number":3688,"context_line":"                }"}],"source_content_type":"text/x-csrc","patch_set":1,"id":"42086021_1dd05e91","line":3685,"in_reply_to":"57844a87_beb7402a","updated":"2026-10-31 00:06:31.000000000","message":"Okay, we can ensure that the added string \" UN:\u003cuser64\u003e\" does not eat into the currently available space for static-challenge string. If its too long, do not add it and print a warning.\nThis will have room for up to 93 bytes long usernames.","commit_id":"fcd51de7b4ed18d43d6acdec8bf148cf6323ffeb"}]}
