You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2025/04/17 13:47:00 UTC

[jira] [Created] (IMPALA-13973) Base64 decoding doesn't report errors in some platforms

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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org