)]}'
{"id":"openvpn~314","triplet_id":"openvpn~release%2F2.6~If4a67adac4d2e870fd719b58075d39efcd67c671","project":"openvpn","branch":"release/2.6","full_branch":"refs/heads/release/2.6","topic":"cmake-2.6","attention_set":{},"removed_from_attention_set":{"1000002":{"account":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"last_update":"2023-09-23 09:57:00.000000000","reason":"Change was submitted"},"1000001":{"account":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"last_update":"2023-09-23 09:57:00.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"If4a67adac4d2e870fd719b58075d39efcd67c671","subject":"buffer: use memcpy in buf_catrunc","status":"MERGED","created":"2023-07-21 13:55:29.000000000","updated":"2023-09-23 09:57:00.000000000","submitted":"2023-09-23 09:57:00.000000000","submitter":{"_account_id":1000002,"name":"Gert Doering","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":"314-cmake-2.6","meta_rev_id":"da9fdcef16260113a1cc63c2c34310a249c306cc","_number":314,"virtual_id_number":314,"owner":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"actions":{},"labels":{"Code-Review":{"all":[{"value":0,"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},{"value":0,"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},{"value":0,"_account_id":1000002,"name":"Gert Doering","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":[],"reviewers":{"REVIEWER":[{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"}],"CC":[{"_account_id":1000026,"name":"openvpn-devel","email":"openvpn-devel@lists.sourceforge.net","username":"openvpn-devel"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2023-07-21 13:55:31.000000000","updated_by":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"real_updated_by":{"_account_id":1000001,"name":"Frank Lichtenheld","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":"2023-08-15 23:22:04.000000000","updated_by":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"real_updated_by":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"reviewer":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"state":"REVIEWER"},{"updated":"2023-09-18 20:15:07.000000000","updated_by":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"real_updated_by":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"reviewer":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"state":"REVIEWER"},{"updated":"2023-09-22 16:28:39.000000000","updated_by":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"real_updated_by":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"reviewer":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"state":"REVIEWER"}],"messages":[{"id":"bbc2fb2c5d46ab9710798447f18d2002f688de7b","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2023-07-21 13:55:29.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"21e8f6996ef2b61ca03846d69e9c83c1c657e338","author":{"_account_id":1000007,"name":"Antonio Quartulli","display_name":"Antonio Quartulli","email":"antonio@mandelbit.com","username":"ordex"},"date":"2023-08-15 23:22:04.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"6f75923ccddbb27f891759525a752df7b98f4505","author":{"_account_id":1000006,"name":"Heiko Hund","display_name":"Heiko Hund","email":"heiko@ist.eigentlich.net","username":"d12fk"},"date":"2023-09-18 20:15:07.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"2dda40cd67a1369dc95ff5af0dc8ed3e02a60eb3","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"date":"2023-09-22 16:28:39.000000000","message":"Uploaded patch set 2: Patch Set 1 was rebased.\n\nCopied Votes:\n* Code-Review+2 (copy condition: \"changekind:NO_CHANGE OR **changekind:TRIVIAL_REBASE** OR is:MIN\")\n","accounts_in_message":[],"_revision_number":2},{"id":"da9fdcef16260113a1cc63c2c34310a249c306cc","tag":"autogenerated:gerrit:merged","author":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"date":"2023-09-23 09:57:00.000000000","message":"Change has been successfully pushed.","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"946219115d00c6ae658afcf538249e721e6bd600","revisions":{"7385f406d59a33c7f2919aacfd17834623cf67f3":{"kind":"REWORK","_number":1,"created":"2023-07-21 13:55:29.000000000","uploader":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"ref":"refs/changes/14/314/1","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/14/314/1","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/1 \u0026\u0026 git checkout -b change-314 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/14/314/1","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"ccabffde4b482f20f0d9365849d831685ce55010","subject":"Mock openvpn_exece on win32 also for test_tls_crypt"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2023-05-17 11:36:19.000000000","tz":120},"committer":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2023-07-21 13:31:26.000000000","tz":120},"subject":"buffer: use memcpy in buf_catrunc","message":"buffer: use memcpy in buf_catrunc\n\nSince we use strlen() to determine the length\nand then check it ourselves, there is really\nno point in using strncpy.\n\nBut the compiler might complain that we use\nthe output of strlen() for the length of\nstrncpy which is usually a sign for bugs:\n\nerror: ‘strncpy’ specified bound depends\n on the length of the source argument\n [-Werror\u003dstringop-overflow\u003d]\n\nWarning was at least triggered for\nmingw-gcc version 10-win32 20220113.\n\nAlso change the type of len to size_t\nwhich avoids potential problems with\nsigned overflow.\n\nv2:\n - make len size_t and change code to avoid any theoretical overflows\n - remove useless casts\nv3:\n - fix off-by-one introduced by v2 %)\nv4:\n - ignore unsigned overflow to simplify code\n\nChange-Id: If4a67adac4d2e870fd719b58075d39efcd67c671\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\nAcked-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n(cherry picked from commit c89a97e449baaf60924a362555d35184f188a646)\n"},"branch":"refs/heads/release/2.6"},"5619c36085457aa47df70f1da0ce0d1f74dd103b":{"kind":"TRIVIAL_REBASE","_number":2,"created":"2023-09-22 16:28:39.000000000","uploader":{"_account_id":1000001,"name":"Frank Lichtenheld","display_name":"Frank Lichtenheld","email":"frank@lichtenheld.com","username":"flichtenheld","status":"OpenVPN Inc."},"ref":"refs/changes/14/314/2","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/14/314/2","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/2 \u0026\u0026 git checkout -b change-314 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/14/314/2","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"add3f2a2b6d32ef6e16edc2f8196bf22c8ccd0a5","subject":"Mock openvpn_exece on win32 also for test_tls_crypt"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2023-05-17 11:36:19.000000000","tz":120},"committer":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2023-09-22 16:22:05.000000000","tz":120},"subject":"buffer: use memcpy in buf_catrunc","message":"buffer: use memcpy in buf_catrunc\n\nSince we use strlen() to determine the length\nand then check it ourselves, there is really\nno point in using strncpy.\n\nBut the compiler might complain that we use\nthe output of strlen() for the length of\nstrncpy which is usually a sign for bugs:\n\nerror: ‘strncpy’ specified bound depends\n on the length of the source argument\n [-Werror\u003dstringop-overflow\u003d]\n\nWarning was at least triggered for\nmingw-gcc version 10-win32 20220113.\n\nAlso change the type of len to size_t\nwhich avoids potential problems with\nsigned overflow.\n\nv2:\n - make len size_t and change code to avoid any theoretical overflows\n - remove useless casts\nv3:\n - fix off-by-one introduced by v2 %)\nv4:\n - ignore unsigned overflow to simplify code\n\nChange-Id: If4a67adac4d2e870fd719b58075d39efcd67c671\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\nAcked-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n(cherry picked from commit c89a97e449baaf60924a362555d35184f188a646)\n"},"branch":"refs/heads/release/2.6"},"946219115d00c6ae658afcf538249e721e6bd600":{"kind":"TRIVIAL_REBASE_WITH_MESSAGE_UPDATE","_number":3,"created":"2023-09-23 09:57:00.000000000","uploader":{"_account_id":1000002,"name":"Gert Doering","display_name":"Gert Doering","email":"gert@greenie.muc.de","username":"cron2"},"ref":"refs/changes/14/314/3","fetch":{"anonymous http":{"url":"https://gerrit.openvpn.net/openvpn","ref":"refs/changes/14/314/3","commands":{"Branch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/3 \u0026\u0026 git checkout -b change-314 FETCH_HEAD","Checkout":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://gerrit.openvpn.net/openvpn refs/changes/14/314/3","Reset To":"git fetch https://gerrit.openvpn.net/openvpn refs/changes/14/314/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"36605648a8974f1f7151a5842e94c75d08410fd0","subject":"GHA: new workflow to submit scan to Coverity Scan service"}],"author":{"name":"Frank Lichtenheld","email":"frank@lichtenheld.com","date":"2023-09-22 16:04:41.000000000","tz":120},"committer":{"name":"Gert Doering","email":"gert@greenie.muc.de","date":"2023-09-23 09:51:50.000000000","tz":120},"subject":"buffer: use memcpy in buf_catrunc","message":"buffer: use memcpy in buf_catrunc\n\nSince we use strlen() to determine the length\nand then check it ourselves, there is really\nno point in using strncpy.\n\nBut the compiler might complain that we use\nthe output of strlen() for the length of\nstrncpy which is usually a sign for bugs:\n\nerror: ‘strncpy’ specified bound depends\n on the length of the source argument\n [-Werror\u003dstringop-overflow\u003d]\n\nWarning was at least triggered for\nmingw-gcc version 10-win32 20220113.\n\nAlso change the type of len to size_t\nwhich avoids potential problems with\nsigned overflow.\n\nv2:\n - make len size_t and change code to avoid any theoretical overflows\n - remove useless casts\nv3:\n - fix off-by-one introduced by v2 %)\nv4:\n - ignore unsigned overflow to simplify code\n\nChange-Id: If4a67adac4d2e870fd719b58075d39efcd67c671\nSigned-off-by: Frank Lichtenheld \u003cfrank@lichtenheld.com\u003e\nAcked-by: Antonio Quartulli \u003ca@unstable.cc\u003e\nAcked-by: Heiko Hund \u003cheiko@openvpn.net\u003e\nAcked-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n(cherry picked from commit c89a97e449baaf60924a362555d35184f188a646)\nMessage-Id: \u003c20230922160441.167168-1-frank@lichtenheld.com\u003e\nURL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27085.html\nSigned-off-by: Gert Doering \u003cgert@greenie.muc.de\u003e\n"},"branch":"refs/heads/release/2.6"}},"requirements":[],"submit_records":[]}
