Uploaded image for project: 'radsecproxy'
  1. radsecproxy
  2. RADSECPROXY-46

Errors from SSL_write() not handled properly for TLS

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • radsecproxy-1.7
    • None
    • code
    • None

      When SSL_write() return <= 0 we don't handle that in any other way than calling ERR_get_error() until the error stack is empty. We print an error message but don't call SSL_write() again (SSL_ERROR_WANT_*) or close the connection (the rest of them).

      In the DTLS case, the closing case is handled by clientradputdtls() returning a different value (0) and might not be an issue. I haven't looked closely at that.

            linus Linus Nordberg
            linus Linus Nordberg
            Archiver:
            kleist Josva Kleist

              Created:
              Updated:
              Resolved:
              Archived: