)]}'
{"id":"openvpn~1665","triplet_id":"openvpn~master~I05720ccc3bcf706bbe62254afb74562580f5de56","project":"openvpn","branch":"master","topic":"cppcheck","attention_set":{},"removed_from_attention_set":{"1000003":{"account":{"_account_id":1000003,"name":"plaisthos","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"last_update":"2026-06-09 07:11:12.000000000","reason":"Change was submitted"},"1000001":{"account":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"last_update":"2026-06-09 07:11:12.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I05720ccc3bcf706bbe62254afb74562580f5de56","subject":"dev-tools: Fix run-cppcheck to cover more code","status":"MERGED","created":"2026-05-06 21:20:59.000000000","updated":"2026-06-09 07:11:12.000000000","submitted":"2026-06-09 07:11:12.000000000","submitter":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"1665-cppcheck","meta_rev_id":"df2512741c4b779b74b2e691172d54979607d065","_number":1665,"virtual_id_number":1665,"owner":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"}],"values":{"-2":"This shall not be submitted","-1":"I would prefer this is not submitted as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[{"_account_id":1000003,"name":"plaisthos","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"reviewers":{"REVIEWER":[{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},{"_account_id":1000003,"name":"plaisthos","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-05-06 21:21:05.000000000","updated_by":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"reviewer":{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"},"state":"CC"},{"updated":"2026-05-06 21:21:05.000000000","updated_by":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"reviewer":{"_account_id":1000003,"name":"plaisthos","display_name":"Arne Schwabe","email":"arne-openvpn@rfc2549.org","username":"plaisthos"},"state":"REVIEWER"},{"updated":"2026-06-07 17:06:58.000000000","updated_by":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"reviewer":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"state":"REVIEWER"}],"messages":[{"id":"14aebd05fb15b7bc1947ac6c51c6db5eb98dad86","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2026-05-06 21:20:59.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"1333a9cc16a5bbbdccee5fe1dafe800e049f7ddd","tag":"autogenerated:gerrit:setWorkInProgress","author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2026-05-07 10:05:28.000000000","message":"Set Work In Progress","accounts_in_message":[],"_revision_number":1},{"id":"80e42119bd624975c6df88eaf7a0d3dbdd0d862b","tag":"autogenerated:gerrit:newWipPatchSet","author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2026-05-08 11:26:56.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"c14da3a288b0135f854a2cb35486d3a708ee9a0d","tag":"autogenerated:gerrit:setReadyForReview","author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2026-05-08 11:47:59.000000000","message":"Set Ready For Review","accounts_in_message":[],"_revision_number":2},{"id":"07fba7ef7fd3b003d30536c93c8195250b9b8fb2","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2026-05-11 17:44:40.000000000","message":"Uploaded patch set 3: Patch Set 2 was rebased.","accounts_in_message":[],"_revision_number":3},{"id":"411183b257316328be0aecd4cd583fda294ad4ef","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2026-05-22 15:46:24.000000000","message":"Uploaded patch set 4: Patch Set 3 was rebased.","accounts_in_message":[],"_revision_number":4},{"id":"5015fb18dc7d8aa6f09e502a9654efd33ebdbfd1","author":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-06-07 17:06:58.000000000","message":"Patch Set 4: Code-Review+2","accounts_in_message":[],"_revision_number":4},{"id":"df2512741c4b779b74b2e691172d54979607d065","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2026-06-09 07:11:12.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":5}],"current_revision_number":5,"current_revision":"a71e8508f93f6ea19841779e42b9d60561613195","revisions":{"9aa25063038fea77814903cbdf294f8e0bffa4a1":{"kind":"REWORK","_number":1,"created":"2026-05-06 21:20:59.000000000","uploader":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"ref":"refs/changes/65/1665/1","fetch":{"anonymous http":{"url":"http://gerrit.openvpn.net/openvpn","ref":"refs/changes/65/1665/1","commands":{"Branch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/1 \u0026\u0026 git checkout -b change-1665 FETCH_HEAD","Checkout":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull http://gerrit.openvpn.net/openvpn refs/changes/65/1665/1","Reset To":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"841ab0b216a424eb0100448362f76a2c12b3a516","subject":"t_client.sh: Do not use CA_CERT variable as indicator for good .rc file"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-06 13:54:04.000000000","tz":120},"committer":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-06 21:20:38.000000000","tz":120},"subject":"dev-tools: Fix run-cppcheck to cover more code","message":"dev-tools: Fix run-cppcheck to cover more code\n\nWhen specifying any -D argument all other defines\nare ignored unless --force is specified as well.\nI mistakenly assumed that this was covered by\n--check-level\u003dexhaustive.\n\nChange-Id: I05720ccc3bcf706bbe62254afb74562580f5de56\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\n"},"branch":"refs/heads/master"},"a857400c0a9eac0042a9597567a24e03ae0360bf":{"kind":"REWORK","_number":2,"created":"2026-05-08 11:26:56.000000000","uploader":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"ref":"refs/changes/65/1665/2","fetch":{"anonymous http":{"url":"http://gerrit.openvpn.net/openvpn","ref":"refs/changes/65/1665/2","commands":{"Branch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/2 \u0026\u0026 git checkout -b change-1665 FETCH_HEAD","Checkout":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull http://gerrit.openvpn.net/openvpn refs/changes/65/1665/2","Reset To":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"74d39dfba2aa8d94110467788dfb9160fc739fad","subject":"sample: Fix cppcheck error invalidPrintfArgType_sint"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-06 13:54:04.000000000","tz":120},"committer":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-08 11:24:10.000000000","tz":120},"subject":"dev-tools: Fix run-cppcheck to cover more code","message":"dev-tools: Fix run-cppcheck to cover more code\n\nMassively improve how we call cppcheck to cover\nmore code and identify more issues.\n\nWhen specifying any -D argument all other defines\nare ignored unless --force or --max-configs is\nspecified as well. I mistakenly assumed that this\nwas covered by --check-level\u003dexhaustive. We need\nto try finding a value for --max-configs so that\ncppcheck doesn\u0027t spend hours scanning options.c\n\nAdd a library cfg for our code which for now\n- identifies some printf-style functions\n- adds some common macro defines\n\nUse existing libraries.\n\nAdd a second call to cppcheck to separate the\nWindows and Unixy code scans. This avoids some\nvery non-sensical define combinations.\n\nChange-Id: I05720ccc3bcf706bbe62254afb74562580f5de56\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\n"},"branch":"refs/heads/master"},"15a4dbc014c02950312b9e89a1dea3089169a308":{"kind":"TRIVIAL_REBASE","_number":3,"created":"2026-05-11 17:44:40.000000000","uploader":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"ref":"refs/changes/65/1665/3","fetch":{"anonymous http":{"url":"http://gerrit.openvpn.net/openvpn","ref":"refs/changes/65/1665/3","commands":{"Branch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/3 \u0026\u0026 git checkout -b change-1665 FETCH_HEAD","Checkout":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull http://gerrit.openvpn.net/openvpn refs/changes/65/1665/3","Reset To":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"1400926adada824973a3df001fdcc46f523d90ee","subject":"tun: Remove one useless if check"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-06 13:54:04.000000000","tz":120},"committer":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-11 17:43:50.000000000","tz":120},"subject":"dev-tools: Fix run-cppcheck to cover more code","message":"dev-tools: Fix run-cppcheck to cover more code\n\nMassively improve how we call cppcheck to cover\nmore code and identify more issues.\n\nWhen specifying any -D argument all other defines\nare ignored unless --force or --max-configs is\nspecified as well. I mistakenly assumed that this\nwas covered by --check-level\u003dexhaustive. We need\nto try finding a value for --max-configs so that\ncppcheck doesn\u0027t spend hours scanning options.c\n\nAdd a library cfg for our code which for now\n- identifies some printf-style functions\n- adds some common macro defines\n\nUse existing libraries.\n\nAdd a second call to cppcheck to separate the\nWindows and Unixy code scans. This avoids some\nvery non-sensical define combinations.\n\nChange-Id: I05720ccc3bcf706bbe62254afb74562580f5de56\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\n"},"branch":"refs/heads/master"},"5dfe1bf826454f2f5e13e10c97bbfd8089d46f53":{"kind":"TRIVIAL_REBASE","_number":4,"created":"2026-05-22 15:46:24.000000000","uploader":{"_account_id":1000001,"name":"flichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"ref":"refs/changes/65/1665/4","fetch":{"anonymous http":{"url":"http://gerrit.openvpn.net/openvpn","ref":"refs/changes/65/1665/4","commands":{"Branch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/4 \u0026\u0026 git checkout -b change-1665 FETCH_HEAD","Checkout":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/4 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/4 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/4 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull http://gerrit.openvpn.net/openvpn refs/changes/65/1665/4","Reset To":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/4 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"2b8afc6c685f4e451fd0fa5aa37f18147520dfc1","subject":"openvpnserv: always use W variant of RpcStringFree()"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-06 13:54:04.000000000","tz":120},"committer":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-05-22 15:27:12.000000000","tz":120},"subject":"dev-tools: Fix run-cppcheck to cover more code","message":"dev-tools: Fix run-cppcheck to cover more code\n\nMassively improve how we call cppcheck to cover\nmore code and identify more issues.\n\nWhen specifying any -D argument all other defines\nare ignored unless --force or --max-configs is\nspecified as well. I mistakenly assumed that this\nwas covered by --check-level\u003dexhaustive. We need\nto try finding a value for --max-configs so that\ncppcheck doesn\u0027t spend hours scanning options.c\n\nAdd a library cfg for our code which for now\n- identifies some printf-style functions\n- adds some common macro defines\n\nUse existing libraries.\n\nAdd a second call to cppcheck to separate the\nWindows and Unixy code scans. This avoids some\nvery non-sensical define combinations.\n\nChange-Id: I05720ccc3bcf706bbe62254afb74562580f5de56\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\n"},"branch":"refs/heads/master"},"a71e8508f93f6ea19841779e42b9d60561613195":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":5,"created":"2026-06-09 07:11:12.000000000","uploader":{"_account_id":1000002,"name":"cron2","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/65/1665/5","fetch":{"anonymous http":{"url":"http://gerrit.openvpn.net/openvpn","ref":"refs/changes/65/1665/5","commands":{"Branch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/5 \u0026\u0026 git checkout -b change-1665 FETCH_HEAD","Checkout":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/5 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/5 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/5 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull http://gerrit.openvpn.net/openvpn refs/changes/65/1665/5","Reset To":"git fetch http://gerrit.openvpn.net/openvpn refs/changes/65/1665/5 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"aca8546df6b04afee275b78f92f5564f5590f76a","subject":"Ensure pushed tun-mtu is no lower than TUN_MTU_MIN"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2026-06-07 17:07:07.000000000","tz":120},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2026-06-09 07:09:04.000000000","tz":120},"subject":"dev-tools: Fix run-cppcheck to cover more code","message":"dev-tools: Fix run-cppcheck to cover more code\n\nMassively improve how we call cppcheck to cover\nmore code and identify more issues.\n\nWhen specifying any -D argument all other defines\nare ignored unless --force or --max-configs is\nspecified as well. I mistakenly assumed that this\nwas covered by --check-level\u003dexhaustive. We need\nto try finding a value for --max-configs so that\ncppcheck doesn\u0027t spend hours scanning options.c\n\nAdd a library cfg for our code which for now\n- identifies some printf-style functions\n- adds some common macro defines\n\nUse existing libraries.\n\nAdd a second call to cppcheck to separate the\nWindows and Unixy code scans. This avoids some\nvery non-sensical define combinations.\n\nChange-Id: I05720ccc3bcf706bbe62254afb74562580f5de56\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\nAcked-by: Gert Doering \u003cgert@greenie.muc.de\u003e\nGerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1665\nMessage-Id: \u003c20260607170713.4980-1-gert@greenie.muc.de\u003e\nURL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg37078.html\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
