Quantcast

[FB-Tracker] Created: (CORE-5530) Random AV at client application using events when connection was broken

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[FB-Tracker] Created: (CORE-5530) Random AV at client application using events when connection was broken

JIRA tracker@firebirdsql.org
Random AV at client application using events when connection was broken
-----------------------------------------------------------------------

                 Key: CORE-5530
                 URL: http://tracker.firebirdsql.org/browse/CORE-5530
             Project: Firebird Core
          Issue Type: Bug
          Components: API / Client Library
    Affects Versions: 2.5.7, 2.5.6, 2.5.5, 2.5.4, 2.5.3 Update 1, 2.1.7, 2.5.3, 2.5.2 Update 1, 2.5.2, 2.5.1, 2.5.0
            Reporter: Vlad Khorsun


If client application
- uses local (stack based) status vector when call ISC API functions, and
- uses events, and
- connection with server is broken,
then random AV could happens in some of application thread's.

The reason is that fbclient saves pointer to the user status-vector at entry to the
all ISC API functions and later report network error happens at event listener thread
using that saved pointer to the status-vector. If stack variable is out of scope it
means events listener thread wrote to the some "random" place at the stack of
another thread.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
Loading...