mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Update validateODBCConnectionString.cpp
This commit is contained in:
parent
369145bd30
commit
0f25e8277c
@ -30,7 +30,7 @@ std::string validateODBCConnectionString(const std::string & connection_string)
|
||||
///
|
||||
/// https://docs.microsoft.com/en-us/sql/odbc/reference/syntax/sqldriverconnect-function?view=sql-server-2017#comments
|
||||
|
||||
/// unixODBC have fixed size buffers on stack and has buffer overflow bugs.
|
||||
/// unixODBC has fixed size buffers on stack and has buffer overflow bugs.
|
||||
/// We will limit string sizes to small values.
|
||||
|
||||
static constexpr size_t MAX_ELEMENT_SIZE = 100;
|
||||
|
Loading…
Reference in New Issue
Block a user