rustyconover opened a new issue, #3796:
URL: https://github.com/apache/arrow-adbc/issues/3796

   ### What happened?
   
   It seems that that `AdbcError` `message` may not always be null terminated 
as I'm getting an AddressSanitizer error when attempting to copy its value.
   
   To cause this issue I'm using the PostgreSQL 1.9.0 driver obtained from 
`dbc`, then I'ms getting an option that doesn't exist called `username` using 
AdbcDatabaseSetOption.
   
   This returns an error string of:
   
   ```
   (lldb) p error->message
   (char *) 0x0000604000108750 "[libpq] Unknown database option username"
   ```
   
   But it seems like the error message is not properly null terminated.
   
   Rusty
   
   ### Stack Trace
   
   _No response_
   
   ### How can we reproduce the bug?
   
   _No response_
   
   ### Environment/Setup
   
   _No response_


-- 
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