{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":453431036,"defaultBranch":"main","name":"rust-ksuid","ownerLogin":"svix","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-01-29T15:06:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/80175132?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1704376573.0","currentOid":""},"activityList":{"items":[{"before":"cc8ba2105c94f8675eed5126448ae7161acda6a1","after":"f71ac1d5611b538b47e1e093b65e5270991fc07f","ref":"refs/heads/main","pushedAt":"2024-02-29T13:47:21.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"tasn","name":"Tom Hacohen","path":"/tasn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/108670?s=80&v=4"},"commit":{"message":"fix: do not parse base62 strings of unexpected length (#8)\n\nReject parsing base62 strings that would result in unexpectedly\r\nlong payloads and potentially large allocations. Without this, it\r\nis possible to use a base62 string to pass in extra bytes of data\r\nthat are unused (but do consume memory for a time). I don't know\r\nif this is something people rely on, but it seems unlikely that\r\nanyone would find this desirable. This might represent a possible\r\nway to OOM any code accepting KSUIDs that didn't limit incoming\r\npayload sizes already, but there are probably better options for that.\r\n\r\nAdd a test for both long and short base62 strings to try to skip\r\nallocating anything for strings of the wrong length by decoding\r\nthem. Previously, length checks only happened after decoding and\r\nwould only take the tail end of the decoded base62 string.","shortMessageHtmlLink":"fix: do not parse base62 strings of unexpected length (#8)"}},{"before":"a3fc564dc3b1faf776a77cd2da717ee9360ddee5","after":"cc8ba2105c94f8675eed5126448ae7161acda6a1","ref":"refs/heads/main","pushedAt":"2024-01-04T13:55:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"tasn","name":"Tom Hacohen","path":"/tasn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/108670?s=80&v=4"},"commit":{"message":"Bump version and update changelog.","shortMessageHtmlLink":"Bump version and update changelog."}},{"before":"082ba13823b63c2ce016d18ac7f8543f5c0e0468","after":"a3fc564dc3b1faf776a77cd2da717ee9360ddee5","ref":"refs/heads/main","pushedAt":"2024-01-04T13:53:37.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"tasn","name":"Tom Hacohen","path":"/tasn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/108670?s=80&v=4"},"commit":{"message":"Implement std::hash::Hash for Ksuid structs. (#7)\n\nCo-authored-by: Aurelien Somename ","shortMessageHtmlLink":"Implement std::hash::Hash for Ksuid structs. (#7)"}},{"before":"16468002c4da26932ca1004fcae190f543565b78","after":"082ba13823b63c2ce016d18ac7f8543f5c0e0468","ref":"refs/heads/main","pushedAt":"2023-03-09T17:40:13.602Z","pushType":"push","commitsCount":1,"pusher":{"login":"tasn","name":"Tom Hacohen","path":"/tasn","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/108670?s=80&v=4"},"commit":{"message":"Bump version and update changelog.","shortMessageHtmlLink":"Bump version and update changelog."}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAECMTQRAA","startCursor":null,"endCursor":null}},"title":"Activity ยท svix/rust-ksuid"}