(no title)
sehrope | 7 years ago
This has been an issue with MySQL client drivers for years. I found and fixed the same issue in MariaDB Connector/J (JDBC driver (wire compatible with MySQL databases) in 2015. It rejects LOCAL DATA requests from the server unless the client app preregistered an InputStream (Java interface for generic stream of bytes) as data for the command being executing.
This is one of the many many reasons I love open source database drivers. I was able to find and fix this issue only because I could see the source code. Similar "features" in proprietary databases could go unnoticed for years and even when discovered may not have feature flags to disable them.
xnyhps|7 years ago
Illniyar|7 years ago
Unless I'm missing some kind of use case this seems like a bad protocol design.
joelhaasnoot|7 years ago
quickben|7 years ago
adontz|7 years ago
For me it is an example of bad protocol design in the first place.
jenscow|7 years ago
However, with proprietary software the protocol is unknown unless it has been published. With OSS, you at least have the source code of the implementation.
As you should know, proprietary software relies on the owners to fix the problem. With OSS, "anyone" can provide a fix - and even if the owner does not wish to include the fix in the official build (which would look very bad on them, in this instance), "anyone" can apply it to their own copy.
Meaning, it's vastly easier for a 3rd party to discover and fix OSS, than proprietary software.
bufferoverflow|7 years ago
hamiltont|7 years ago
ralphm|7 years ago
simonh|7 years ago
ransom1538|7 years ago
nebulous1|7 years ago
myWindoonn|7 years ago
[deleted]