[BUG] casting to string and list, and concat can cause overflow issues #6636
Labels
bug
Something isn't working
cudf_dependency
An issue or PR with this label depends on a new feature in cudf
P0
Must have for release
reliability
Features to improve reliability or bugs that severly impact the reliability of the plugin
Describe the bug
This is similar to #6598.
There are a number of places in cast where we don't think about the output size, and when going to a string or a list these sizes can be larger than the input was. This can result in overflows, and in the worst cases the algorithms can walk off the end of memory and corrupt things.
Generally I would like to see us go through all cast to string code and all concat code that deals with string, binary, arrays, or maps and test that we get appropriate errors without touching memory we should not. If we do run into error, which I think there will be many, then we need to either fix them of file follow on issues to fix them.
The text was updated successfully, but these errors were encountered: