{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":783632686,"defaultBranch":"main","name":"shim","ownerLogin":"ffontaine","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-04-08T09:15:41.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1485263?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1712567748.393731","currentOid":""},"activityList":{"items":[{"before":"82154338d542d69ced2607bf4b60d4cab93f9a26","after":"7aee873d6f6b0737dfe566fc8c5cd4eaada9bd5e","ref":"refs/heads/main","pushedAt":"2024-04-08T09:58:35.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ffontaine","name":"Fabrice Fontaine","path":"/ffontaine","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1485263?s=80&v=4"},"commit":{"message":"cmac.c: optimize make_kn and move zero_iv to const segment.\n\nBackport\nhttps://github.com/openssl/openssl/commit/03cf7e784caa4c61febbf249be63cbae3e368ac9\nto fix the following k1 stringop-overflow:\n\nIn function 'make_kn',\n inlined from 'make_kn' at crypto/cmac/cmac.c:81:13,\n inlined from 'CMAC_Init' at crypto/cmac/cmac.c:205:9:\ncrypto/cmac/cmac.c:92:20: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]\n 92 | k1[bl - 1] ^= bl == 16 ? 0x87 : 0x1b;\n | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~\ncrypto/cmac/cmac.c: In function 'CMAC_Init':\ncrypto/cmac/cmac.c:69:19: note: at offset [-2147483649, -1] into destination object 'k1' of size 32\n 69 | unsigned char k1[EVP_MAX_BLOCK_LENGTH];\n | ^~\n\nFixes:\n - http://autobuild.buildroot.org/results/97b6333cdc7bad24aba7af1b04890679e0058299\n\nSigned-off-by: Fabrice Fontaine ","shortMessageHtmlLink":"cmac.c: optimize make_kn and move zero_iv to const segment."}},{"before":"126a07ebc30bbd203b6966465b058da741b2654b","after":"82154338d542d69ced2607bf4b60d4cab93f9a26","ref":"refs/heads/main","pushedAt":"2024-04-08T09:22:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ffontaine","name":"Fabrice Fontaine","path":"/ffontaine","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1485263?s=80&v=4"},"commit":{"message":"Cryptlib/OpenSSL/crypto/cmac/cmac.c: fix overflow\n\nCheck that bl - 1 is not negative to fix the following k1 stringop-overflow:\n\nIn function 'make_kn',\n inlined from 'make_kn' at crypto/cmac/cmac.c:81:13,\n inlined from 'CMAC_Init' at crypto/cmac/cmac.c:205:9:\ncrypto/cmac/cmac.c:92:20: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]\n 92 | k1[bl - 1] ^= bl == 16 ? 0x87 : 0x1b;\n | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~\ncrypto/cmac/cmac.c: In function 'CMAC_Init':\ncrypto/cmac/cmac.c:69:19: note: at offset [-2147483649, -1] into destination object 'k1' of size 32\n 69 | unsigned char k1[EVP_MAX_BLOCK_LENGTH];\n | ^~\n\nFixes:\n - http://autobuild.buildroot.org/results/97b6333cdc7bad24aba7af1b04890679e0058299\n\nSigned-off-by: Fabrice Fontaine ","shortMessageHtmlLink":"Cryptlib/OpenSSL/crypto/cmac/cmac.c: fix overflow"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEKsISmgA","startCursor":null,"endCursor":null}},"title":"Activity ยท ffontaine/shim"}