Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-248

StackOverflowError / infinite recursion in MariaDbCallableStatement.setBinaryStream

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • all
    • 1.3.5
    • Other
    • None

    Description

      Perhaps I'm missing something, but how can this code do anything besides infinitely recurse?

          public void setBinaryStream(int parameterIndex, InputStream stream) throws SQLException {
              setBinaryStream(parameterIndex, stream);
          }

      See it in source at https://github.com/MariaDB/mariadb-connector-j/blob/master/src/main/java/org/mariadb/jdbc/MariaDbCallableStatement.java#L981

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            EGrunzke Eric Grunzke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.