)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"change_message_id":"8709655a75380bc2fd9f661112d53b466faa9882","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":2,"id":"be8b1206_b2f07806","updated":"2026-11-26 06:57:05.000000000","message":"So, this one is a bit defense in depth. It makes sure the var names and values are sane. For them not to be someone must have been creative with --dev names or in control of the unprivileged openvpn process. So, this _can_ raise an eyebrow or two. Up for decision if we need it or not so much, or maybe only in master. Up to someone else. \u003dP","commit_id":"8e2bca57b9c422b8c104ad665f8186cd65a93fe5"}],"src/openvpn/dns.c":[{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"36d7db406225017dab0db2a2ae47a7f35b8b7476","unresolved":true,"context_lines":[{"line_number":694,"context_line":" * @return bool to indicate if the value is valid"},{"line_number":695,"context_line":" */"},{"line_number":696,"context_line":"static bool"},{"line_number":697,"context_line":"dns_var_dev_valid(const char *value, size_t size)"},{"line_number":698,"context_line":"{"},{"line_number":699,"context_line":"    const char extra[] \u003d \"+@%,\u003d\";"},{"line_number":700,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":4,"id":"58a36930_be0c45ab","line":697,"updated":"2026-11-28 10:28:10.000000000","message":"Should we also reject a leading `.` (which would cover `\"..\"` as well)?","commit_id":"b6bc63f13a9294dfbd40fef75b558999a7627a44"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"36d7db406225017dab0db2a2ae47a7f35b8b7476","unresolved":true,"context_lines":[{"line_number":694,"context_line":" * @return bool to indicate if the value is valid"},{"line_number":695,"context_line":" */"},{"line_number":696,"context_line":"static bool"},{"line_number":697,"context_line":"dns_var_dev_valid(const char *value, size_t size)"},{"line_number":698,"context_line":"{"},{"line_number":699,"context_line":"    const char extra[] \u003d \"+@%,\u003d\";"},{"line_number":700,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":4,"id":"2da61be0_a78dabea","line":697,"updated":"2026-11-28 10:28:10.000000000","message":"`open_tun_generic()` builds the device name with `sep \u003d \"/\"` on Haiku, and `/` is not an allowed character. So `dev\u003dtun/0` now gets rejected.\n\nMaybe the regression is acceptable, in which case we should probably say so in the commit message? If not, we should probably allow `/` only under `TARGET_HAIKU`.","commit_id":"b6bc63f13a9294dfbd40fef75b558999a7627a44"},{"author":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"change_message_id":"5b548975a175a8f6d959efc58ee9d298025d70ab","unresolved":false,"context_lines":[{"line_number":694,"context_line":" * @return bool to indicate if the value is valid"},{"line_number":695,"context_line":" */"},{"line_number":696,"context_line":"static bool"},{"line_number":697,"context_line":"dns_var_dev_valid(const char *value, size_t size)"},{"line_number":698,"context_line":"{"},{"line_number":699,"context_line":"    const char extra[] \u003d \"+@%,\u003d\";"},{"line_number":700,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":4,"id":"466f2141_b647aed8","line":697,"in_reply_to":"2da61be0_a78dabea","updated":"2026-11-30 22:44:14.000000000","message":"Done","commit_id":"b6bc63f13a9294dfbd40fef75b558999a7627a44"},{"author":{"_account_id":1000053,"name":"Răzvan Cojocaru","display_name":"Razvan Cojocaru","email":"razvanc@mailbox.org","username":"razvanc"},"change_message_id":"99ee452ce7b8746f99f354eb71a17911fd7cc486","unresolved":false,"context_lines":[{"line_number":694,"context_line":" * @return bool to indicate if the value is valid"},{"line_number":695,"context_line":" */"},{"line_number":696,"context_line":"static bool"},{"line_number":697,"context_line":"dns_var_dev_valid(const char *value, size_t size)"},{"line_number":698,"context_line":"{"},{"line_number":699,"context_line":"    const char extra[] \u003d \"+@%,\u003d\";"},{"line_number":700,"context_line":""}],"source_content_type":"text/x-csrc","patch_set":4,"id":"7b1c9a81_e2539805","line":697,"in_reply_to":"58a36930_be0c45ab","updated":"2026-11-28 10:34:52.000000000","message":"On second thought checking for `.` shouldn\u0027t matter because the rest of the pipeline should reject it later even if it escapes here. So that is optional here.","commit_id":"b6bc63f13a9294dfbd40fef75b558999a7627a44"}]}
