Skip to content

Conversation

@Permanence-AI-Coder
Copy link

The changes in this PR were automatically generated by the Permanence AI Coder and reviewed by @eelenberg and @jweese. In several cases, 32-bit variables are being multiplied before being promoted to a larger type. The results of these multiplications could overflow 32 bits before the promotion. To avoid potential overflow, instances of i, d.lda, col, ldi, and ldo are cast to int64_t before being used in multiplication.

on-behalf-of: @permanence-ai [email protected]

The changes in this PR were automatically generated by the Permanence AI
Coder and reviewed by @eelenberg and @jweese. In several cases,
32-bit variables are being multiplied before being promoted to a larger
type. The results of these multiplications could overflow 32 bits before
the promotion. To avoid potential overflow, instances of `i`, `d.lda`,
`col`, `ldi`, and `ldo` are cast to `int64_t` before being used in
multiplication.

on-behalf-of: @permanence-ai [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant