You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "pitrou (via GitHub)" <gi...@apache.org> on 2025/09/25 16:27:04 UTC

[I] [C++][Parquet] Unchecked multiplication can overflow when writing Parquet [arrow]

pitrou opened a new issue, #47657:
URL: https://github.com/apache/arrow/issues/47657

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   In the Parquet column writer, we sometimes multiply values before writing them, for example when converting Arrow seconds timestamps to Parquet milliseconds timestamps (the Parquet format does not support seconds timestamps).
   
   However, we don't check for multiplication overflow, which could result in invalid data being written out.
   
   ### Component(s)
   
   C++, Parquet


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Parquet] Unchecked multiplication can overflow when writing Parquet [arrow]

Posted by "pitrou (via GitHub)" <gi...@apache.org>.
pitrou commented on issue #47657:
URL: https://github.com/apache/arrow/issues/47657#issuecomment-3334978017

   This was originally discovered in https://github.com/apache/arrow/issues/47655


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Parquet] Unchecked multiplication can overflow when writing Parquet [arrow]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac closed issue #47657: [C++][Parquet] Unchecked multiplication can overflow when writing Parquet
URL: https://github.com/apache/arrow/issues/47657


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [C++][Parquet] Unchecked multiplication can overflow when writing Parquet [arrow]

Posted by "wgtmac (via GitHub)" <gi...@apache.org>.
wgtmac commented on issue #47657:
URL: https://github.com/apache/arrow/issues/47657#issuecomment-4341584584

   Issue resolved by pull request 49615
   https://github.com/apache/arrow/pull/49615


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org