Symantec Access Management

 View Only

Tech Tip : CA Single Sign-On : Running Web Agent on Apache, when the Browser and Web Agent machines are using IPV6 Addresses, then the Apache crashes with the following stack std::basic_string

  • 1.  Tech Tip : CA Single Sign-On : Running Web Agent on Apache, when the Browser and Web Agent machines are using IPV6 Addresses, then the Apache crashes with the following stack std::basic_string

    Broadcom Employee
    Posted Aug 24, 2017 06:44 AM

    Issue :


    We run Web Agent on Apache, when the Browser and Web Agent machines are using IPV6 Addresses, then the Apache crashes with the following stack :

     

    Thread 129 (Thread 0x7f8921fef700 (LWP 27387)):

    #0 0x00007f893ec268c7 in kill () from /lib64/libc.so.6

     

    #1 0x0000000000470b32 in sig_coredump ()

    #2

    #3 0x00007f893ec265e5 in raise () from /lib64/libc.so.6

    #4 0x00007f893ec27dc5 in abort () from /lib64/libc.so.6

    #5 0x00007f893c414a7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6

    #6 0x00007f893c412bd6 in ?? () from /usr/lib64/libstdc++.so.6

    #7 0x00007f893c412c03 in std::terminate() () from /usr/lib64/libstdc++.so.6

    #8 0x00007f893c412d22 in __cxa_throw () from /usr/lib64/libstdc++.so.6

    #9 0x00007f893c3b7db7 in std::__throw_out_of_range(char const*) () from /usr/lib64/libstdc++.so.6

    #10 0x00007f893c3f472c in std::basic_string,

    std::allocator >::at(unsigned long) () from /usr/lib64/libstdc++.so.6

    #11 0x00007f88d8dbb35d in CSmHttpPlugin::ResolveAgentName(CSmHttpPluginConfig&,

    std::basic_string, std::allocator >&, std::basic_string std::char_traits, std::allocator >&, CSmWebFilterCtxt*) ()

    from /opt/CA/webagent/bin/libHttpPlugin.so

     

    How can we fix this issue ?

     

    Environment:

     

    Web Agent 12.52SP1CR06 64bit on Apache on RedHat;

     

    Cause:

     

    There was a bug in the code where we mistakenly treat some hostname as an ipv6 address since the check is wrong and we checked for all hexadecimal chars to determine if it's ipv6.

     

    Resolution:


    Upgrade the Web Agent to 12.52SP1CR07 to get benefit of the following fix :

     

    Web Agent

    00692205DE280513Web agent crashes when the machines use IPV6 addresses.


    Defects Fixed in 12.52 SP1 CR07

    KB : TEC1851797