OleMussmann commented on issue #1100:
URL: https://github.com/apache/arrow-adbc/issues/1100#issuecomment-1734272146

   As a mitigation, you could also compare the lengths of the strings. Like:
   
   `if ((name.size_bytes == (int64_t) strlen(table_name)) && 
(!strncmp(name.data, table_name, name.size_bytes))) { ... }`
   
   That should at least reduce the chance of false matches, I'm not 100% sure 
it's a full fix. By the way, the current method of string comparisons is also 
used in many other functions, it would need some testing to figure out if a fix 
needs to be applied somewhere else as well.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to