Mareks Malnačs

OPENAM-7322 CR-8436 WPA4 agentonly notification agent id search should be case insensitive
Incomplete fix for OPENAM-7201
OPENAM-7201 CR-8433 WPA4 does not support Apache HTTPD server graceful restart
    • -1
    • +1
    /trunk/policy-agents/Makefile.linux.mk
    • -3
    • +3
    /trunk/policy-agents/tests/test_notifications.c
    • -5
    • +12
    /trunk/policy-agents/source/thread.c
    • -7
    • +1
    /trunk/policy-agents/tests/test_init.c
    • -1
    • +1
    /trunk/policy-agents/Makefile.solaris.mk
Update WPA4 legal folder CR-8434
    • -20
    • +0
    /trunk/policy-agents/legal/ZLIB.txt
    • -92
    • +0
    /trunk/policy-agents/legal/PCRE.txt
    • -202
    • +0
    /trunk/policy-agents/legal/CMOCKA.txt
    • -23
    • +0
    /trunk/policy-agents/legal/HTTP_PARSER.txt
    • -22
    • +0
    /trunk/policy-agents/legal/EXPAT.txt
    • -0
    • +211
    /trunk/policy-agents/legal/THIRDPARTYREADME.txt
OPENAM-7257 CR-8429 WPA4 crashes on OS X 10.11.1
    • -12
    • +17
    /trunk/policy-agents/source/init.c
WPA4 turn off keepalives and make it default setting (reviewed in HC)
    • -1
    • +1
    /trunk/policy-agents/config/agent.conf.template
OPENAM-7201 CR-8428 WPA4 does not support Apache HTTPD server graceful restart
OPENAM-6478 CR-8427 wpa4 audit logger crash fix (incomplete)
OPENAM-6478 CR-8427 wpa4 audit logger crash fix
    • -11
    • +18
    /trunk/policy-agents/source/audit.c
OPENAM-7119 CR-8425 WPA4 Windows 32bit agent fixes
    • -87
    • +76
    /trunk/policy-agents/source/admin.c
    • -1
    • +1
    /trunk/policy-agents/source/platform.h
    • -18
    • +22
    /trunk/policy-agents/source/naming_valid.c
    • -23
    • +28
    /trunk/policy-agents/source/utility.c
    • -19
    • +39
    /trunk/policy-agents/source/thread.c
    • -24
    • +4
    /trunk/policy-agents/source/thread.h
    • -3
    • +32
    /trunk/policy-agents/source/admin_iis.c
    • -21
    • +3
    /trunk/policy-agents/source/worker.c
OPENAM-7091 CR-8418 Policy Agent unable to handle + symbol
    • -6
    • +22
    /trunk/policy-agents/source/process.c
OPENAM-7025 CR-8417 Agent4 incorrectly handles the order of the login.url list values
    • -0
    • +25
    /trunk/policy-agents/source/utility.c
    • -0
    • +1
    /trunk/policy-agents/source/config_file.c
    • -0
    • +1
    /trunk/policy-agents/source/config_xml.c
    • -0
    • +31
    /trunk/policy-agents/tests/test_config.c
Incomplete OpenSSL library version name_variants table (AIX), reviewed in HC
OPENAM-7062 CR-8413 change WPA4 Solaris SPARC/x86 archive name
    • -0
    • +2
    /trunk/policy-agents/Makefile.solaris.mk
CR-8377 WPA4 Windows 32bit agent builds
    • -14
    • +1
    /trunk/policy-agents/source/thread.c
    • -30
    • +17
    /trunk/policy-agents/source/admin_iis.c
    • -8
    • +14
    /trunk/policy-agents/Makefile.windows.mk
    • -12
    • +10
    /trunk/policy-agents/source/property_map.c
OPENAM-7031 CR-8368 Apache agent process crashes with segmentation fault when reqexp logout was performed
    • -5
    • +27
    /trunk/policy-agents/source/net_client_ssl.c
    • -186
    • +296
    /trunk/policy-agents/source/net_ops.c
    • -17
    • +22
    /trunk/policy-agents/source/net_client.c
    • -1
    • +1
    /trunk/policy-agents/Makefile.linux.mk
Incomplete fix for extended url validation feature (AME-1132/OPENAM-6994)
OPENAM-6991 CR-8330 WPA4 fails to set private key password
    • -31
    • +9
    /trunk/policy-agents/source/utility.c
OPENAM-6946 CR-8305 WPA4 Solaris SPARC 32bit agent crashes with the Bus Error (incomplete Makefile change)
    • -2
    • +2
    /trunk/policy-agents/Makefile.solaris.mk
OPENAM-6946 CR-8305 WPA4 Solaris SPARC 32bit agent crashes with the Bus Error
    • -11
    • +10
    /trunk/policy-agents/source/shared.c
    • -1
    • +1
    /trunk/policy-agents/Makefile.solaris.mk
OPENAM-6928 CR-8299 Audit log doesn't contain user name on deny response
    • -14
    • +18
    /trunk/policy-agents/source/process.c
OPENAM-6934 CR-8298 WPA 4: No message, if I delete non existent agent instace with agentadmin
    • -11
    • +41
    /trunk/policy-agents/source/admin.c
CR-8242 Adding extended url validation feature (AME-1132) in WPA4
    • -15
    • +77
    /trunk/policy-agents/source/log.c
    • -1
    • +1
    /trunk/policy-agents/source/config_file.c
    • -356
    • +293
    /trunk/policy-agents/source/naming_valid.c
    • -1
    • +1
    /trunk/policy-agents/source/iis/agent.c
    • -1
    • +11
    /trunk/policy-agents/source/utility.h
CR-8273 Another round of fixes for OPENAM-6864
    • -15
    • +1
    /trunk/policy-agents/source/thread.h
    • -7
    • +7
    /trunk/policy-agents/source/net_client.c
    • -2
    • +2
    /trunk/policy-agents/source/net_client.h
    • -64
    • +28
    /trunk/policy-agents/source/thread.c
CR-8248 Second round of fixes for OPENAM-6864
    • -22
    • +29
    /trunk/policy-agents/source/thread.c
    • -8
    • +28
    /trunk/policy-agents/source/net_client.c
Incomplete fix for OPENAM-6859, reviewed in HC
OPENAM-6864 CR-8225 WPA crash (Httpd 2.2) under high load (access static resource)
    • -1
    • +1
    /trunk/policy-agents/source/config_file.c
    • -15
    • +17
    /trunk/policy-agents/source/thread.c
    • -15
    • +16
    /trunk/policy-agents/source/net_ops.c
    • -2
    • +2
    /trunk/policy-agents/source/net_client.c
Its like this (an example with am_agent_login and no response from a remote site): *do am_net_connect in main thread, which creates event loop and boots the watchdog thread which monitors the eve...

Its like this (an example with am_agent_login and no response from a remote site):

  • do am_net_connect in main thread, which creates event loop and boots the watchdog thread which monitors the event loop for timeout (in case there is no response or server is very slow - we need to get out of the event loop and release the resources);
  • am_net_connect fails and am_agent_login exits with am_net_diconnect + am_net_close (in main thread);
  • at the same time (or earlier/later, depending where it is atm) net_async_poll_timeout is reached too (event loop has timed out) and it does am_net_diconnect together with all the upper level callbacks for net_ops.


am_net_diconnect is called (and it is allowed to) multiple times. crash was within set_exit_event when am_net_close was already called close_event (which destroyed mutex) but event handle wasn't set to NULL - second am_net_disconnect freaked out.

the same here

the same here

yup, sorry. it should be *e = NULL; event is just another pointer.

yup, sorry. it should be *e = NULL; event is just another pointer.