Zoltán Borók-Nagy created IMPALA-13973:
------------------------------------------

             Summary: Base64 decoding doesn't report errors in some platforms
                 Key: IMPALA-13973
                 URL: https://issues.apache.org/jira/browse/IMPALA-13973
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
            Reporter: Zoltán Borók-Nagy


Base64 decoding doesn't report errors in some platforms.
When the libSASL library in the system has a bug, sasl_decode64() accepts 
almost anything instead of rerturning a proper error code.
See details at https://github.com/cyrusimap/cyrus-sasl/issues/619

This issue was already reported by IMPALA-9926 and IMPALA-13968, but they only 
modified our tests to make them pass in such environments.

We could add our own implementation for Base64 decoding, or use another library 
that doesn't have this bug (and hopefully neither other bugs).

The issue is fixed in libSASL, but since we use the library from the system we 
run on, it means we cannot guarantee correct behavior.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to