[Mono-bugs] [Bug 704264] New: Insufficient NULL checking for argument to threadpool_jobs_dec

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 6 17:47:29 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=704264

https://bugzilla.novell.com/show_bug.cgi?id=704264#c0


           Summary: Insufficient NULL checking for argument to
                    threadpool_jobs_dec
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.10.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mono-bt at dotbas.net
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Description of Problem:
Insufficient NULL checking is performed for arguments to threadpool_jobs_dec -
in case 'ar = state->ares;' executed and state->ares == NULL, this pointer will
cause a crash when dereferenced.

Steps to reproduce the problem:
Not known, seems to 'randomly' happen with a *Async sockets application having
~9000-10000 open connections at a time.


Actual Results:
SIGSEGV being raised.

Expected Results:
Either the NULL pointer being ignored, or a managed exception being raised.

How often does this happen? 
Seemingly at random.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list