Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-1552

WPA5 crashes on return from auth redirect when username contains UTF8 characters

    Details

      Description

      Create a username with utf8 character in it, for example: testā
      Request protected resource, authenticate and wait for return-redirect.

      Expected: protected resource is shown.
      Actual: agent crashes with the following stack trace:

      Thread 3:
      0 mod_openam.so 0x000000010dd0f3b1 buffer_add_string + 17 (buffer.c:90)
      1 mod_openam.so 0x000000010dcd14f4 am_sdk_get_client_data + 1924 (sdk_session.c:225)
      2 mod_openam.so 0x000000010dcc07c6 authorise_request + 774 (request.c:1146)
      3 mod_openam.so 0x000000010dcc4b92 validate_policy + 130 (request.c:1222)
      4 mod_openam.so 0x000000010dcc17fc am_process_request + 76
      5 mod_openam.so 0x000000010dd1bb0d amagent_auth_handler + 1357 (agent.c:844)
      6 httpd 0x000000010dab0687 ap_process_request_internal + 935
      7 httpd 0x000000010dac037d ap_process_async_request + 925
      8 httpd 0x000000010dac0426 ap_process_request + 22
      9 httpd 0x000000010dabc822 ap_process_http_connection + 306
      10 httpd 0x000000010da96676 ap_process_connection + 166
      11 httpd 0x000000010dac94d4 worker_thread + 564
      12 libsystem_pthread.dylib 0x00007fff768bb661 _pthread_body + 340
      13 libsystem_pthread.dylib 0x00007fff768bb50d _pthread_start + 377
      14 libsystem_pthread.dylib 0x00007fff768babf9 thread_start + 13

        Attachments

          Activity

            People

            • Assignee:
              mareks Mareks Malnacs
              Reporter:
              mareks Mareks Malnacs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: