)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000003,"name":"Arne Schwabe","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"change_message_id":"dc7b0b0f68fa2da9c67d6e03af335685d5b490b0","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"28ea3c29_2f9a9bc6","updated":"2026-08-08 13:13:30.000000000","message":"This commit also removes the initalisation of the buffer by \u003d clear_buf(); While that might do something. I think that change should be explained in the commit message or the initisation should be kept or replace by a simple \u003d { 0 }; since that is what clear_buf does anyway.","commit_id":"5f440cfa6725af843e25a622588fc010486667a4"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"717c3057479139e2459449c658fd2ba88d805454","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":11,"id":"cbace028_e845bb49","in_reply_to":"28ea3c29_2f9a9bc6","updated":"2026-08-10 12:02:09.000000000","message":"In don\u0027t understand your point. As the commit message says we only remove assignments of values that are never used for anything.","commit_id":"5f440cfa6725af843e25a622588fc010486667a4"}],"src/openvpn/console_builtin.c":[{"author":{"_account_id":1000008,"name":"Lev Stipakov","display_name":"Lev Stipakov","email":"lstipakov@gmail.com","username":"stipa"},"change_message_id":"783f36aafc384045a1cc0bf6e1b2a1b2d08dea70","unresolved":true,"context_lines":[{"line_number":200,"context_line":"#if defined(_WIN32)"},{"line_number":201,"context_line":"    return get_console_input_win32(prompt, echo, input, capacity);"},{"line_number":202,"context_line":"#elif !defined(HAVE_TERMIOS_H)"},{"line_number":203,"context_line":"    msg(M_FATAL, \"Sorry, but I can\u0027t get console input on this OS (%s)\", prompt);"},{"line_number":204,"context_line":"#else"},{"line_number":205,"context_line":"    bool restore_tty \u003d false;"},{"line_number":206,"context_line":"    bool ret \u003d false;"}],"source_content_type":"text/x-csrc","patch_set":11,"id":"ed7d4c69_3b98ea0a","line":203,"updated":"2026-08-13 12:58:49.000000000","message":"this loses return. M_FATAL means exit, but won\u0027t we get a compiler warning on the platforms which are not WIN32 and don\u0027t have termios? The fix would be moving \"return red\" in the end of function above #endif.","commit_id":"5f440cfa6725af843e25a622588fc010486667a4"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"22bb1ce17b51b4c7aae05aea37284926abd26166","unresolved":true,"context_lines":[{"line_number":200,"context_line":"#if defined(_WIN32)"},{"line_number":201,"context_line":"    return get_console_input_win32(prompt, echo, input, capacity);"},{"line_number":202,"context_line":"#elif !defined(HAVE_TERMIOS_H)"},{"line_number":203,"context_line":"    msg(M_FATAL, \"Sorry, but I can\u0027t get console input on this OS (%s)\", prompt);"},{"line_number":204,"context_line":"#else"},{"line_number":205,"context_line":"    bool restore_tty \u003d false;"},{"line_number":206,"context_line":"    bool ret \u003d false;"}],"source_content_type":"text/x-csrc","patch_set":11,"id":"a42ad3c9_4f641da3","line":203,"in_reply_to":"ed7d4c69_3b98ea0a","updated":"2026-08-14 10:40:57.000000000","message":"In general we added EXIT_FATAL macro to msg() exactly so that tools would not complain. We do not usually add return statements after M_FATAL. But of course in most functions there is some return still afterwards.\n\nNot sure how we would test this specific instance. I don\u0027t know if we even have a platform where this code branch is used...","commit_id":"5f440cfa6725af843e25a622588fc010486667a4"}],"src/openvpn/pkcs11_openssl.c":[{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"b3b385fc27be1867866019e372fdd7ffd4d4f917","unresolved":true,"context_lines":[{"line_number":184,"context_line":"        {"},{"line_number":185,"context_line":"            tbs \u003d buf;"},{"line_number":186,"context_line":"            tbslen \u003d (size_t)buflen;"},{"line_number":187,"context_line":"            sigalg.op \u003d \"Sign\";"},{"line_number":188,"context_line":"        }"},{"line_number":189,"context_line":"        else"},{"line_number":190,"context_line":"        {"}],"source_content_type":"text/x-csrc","patch_set":21,"id":"37bd7045_cd56a7b6","line":187,"updated":"2026-09-12 17:54:45.000000000","message":"My cppcheck run also flagged this as an `unreadVariable`. Is it a false positive?","commit_id":"35aca022b11f9efa8a8f0f3eef5c632a9c52102b"},{"author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"change_message_id":"275ba9e29d7155ebbd8410779bd25d0020d5417f","unresolved":true,"context_lines":[{"line_number":184,"context_line":"        {"},{"line_number":185,"context_line":"            tbs \u003d buf;"},{"line_number":186,"context_line":"            tbslen \u003d (size_t)buflen;"},{"line_number":187,"context_line":"            sigalg.op \u003d \"Sign\";"},{"line_number":188,"context_line":"        }"},{"line_number":189,"context_line":"        else"},{"line_number":190,"context_line":"        {"}],"source_content_type":"text/x-csrc","patch_set":21,"id":"8dec46c9_ec352a8b","line":187,"in_reply_to":"37bd7045_cd56a7b6","updated":"2026-09-14 12:02:04.000000000","message":"No. But that hit only occurs with newer versions of cppcheck than I originally used which is why it was not part of this commit.\n\nI have investigated it and it is correct. It is somewhat indirect though. We give the full sigalg struct to a function that then also doesn\u0027t use `.op`.","commit_id":"35aca022b11f9efa8a8f0f3eef5c632a9c52102b"}],"src/openvpn/push_util.c":[{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"e86f2a75714a37935da84561d38f8bc9c836661a","unresolved":true,"context_lines":[{"line_number":131,"context_line":"            }"},{"line_number":132,"context_line":"            break;"},{"line_number":133,"context_line":"        }"},{"line_number":134,"context_line":"    }"},{"line_number":135,"context_line":"    return true;"},{"line_number":136,"context_line":"}"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":21,"id":"48849d0e_8d7bdc20","line":134,"updated":"2026-09-13 09:45:07.000000000","message":"this is changing behaviour (because in the `else {}` branch we\u0027re no longer skipping something), **but** I think this is actually buggy before, namely, loosing one option when push-continuation needs to be set.  Right?  So this is fine, but should be mentioned in the commit message.","commit_id":"35aca022b11f9efa8a8f0f3eef5c632a9c52102b"},{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"3d2fc108ee32d9e87a527171463a59664d7fcf8d","unresolved":false,"context_lines":[{"line_number":131,"context_line":"            }"},{"line_number":132,"context_line":"            break;"},{"line_number":133,"context_line":"        }"},{"line_number":134,"context_line":"    }"},{"line_number":135,"context_line":"    return true;"},{"line_number":136,"context_line":"}"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":21,"id":"e2d50c38_80690193","line":134,"in_reply_to":"1e30ed79_80442e61","updated":"2026-09-13 10:03:00.000000000","message":"Done","commit_id":"35aca022b11f9efa8a8f0f3eef5c632a9c52102b"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"98883218df6337b3db93decfe37a2d19926ab1a7","unresolved":true,"context_lines":[{"line_number":131,"context_line":"            }"},{"line_number":132,"context_line":"            break;"},{"line_number":133,"context_line":"        }"},{"line_number":134,"context_line":"    }"},{"line_number":135,"context_line":"    return true;"},{"line_number":136,"context_line":"}"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":21,"id":"964dc425_b42707d9","line":134,"in_reply_to":"48849d0e_8d7bdc20","updated":"2026-09-13 09:52:04.000000000","message":"It is not changing behavior. The `else` branch did this:\n\n```\ni \u003d strlen(str); // this puts str square on its NUL-terminator\n```\nthen:\n```\nstr \u003d \u0026str[i]; // next while (*str) will fail and the loop ends\n```\nSo Frank\u0027s new code is exactly equivalent (and arguably clearer).","commit_id":"35aca022b11f9efa8a8f0f3eef5c632a9c52102b"},{"author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"change_message_id":"747eff2cf15d2de10370156ef14fda0ca0bd028d","unresolved":true,"context_lines":[{"line_number":131,"context_line":"            }"},{"line_number":132,"context_line":"            break;"},{"line_number":133,"context_line":"        }"},{"line_number":134,"context_line":"    }"},{"line_number":135,"context_line":"    return true;"},{"line_number":136,"context_line":"}"},{"line_number":137,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":21,"id":"1e30ed79_80442e61","line":134,"in_reply_to":"964dc425_b42707d9","updated":"2026-09-13 10:02:48.000000000","message":"Thanks.  I only saw the \"`str` is not advanced here, so this is different\" part, but missed the \"the loop will implicitly be broken in the `else {}` case\" bit.\n\nSo yes, this makes sense.  Will progress.","commit_id":"35aca022b11f9efa8a8f0f3eef5c632a9c52102b"}]}
