Opened 16 years ago

Closed 16 years ago

#744 closed Bugs (Wont Fix)

thread_exception::message can return out of scope pointer

Reported by: glensummers Owned by: Roland Schwarz
Milestone: Component: threads
Version: None Severity:
Keywords: Cc:

Description

const char* thread_exception::message() const
{
    if (m_sys_err != 0)
        return system_message(m_sys_err).c_str();
    return what();
}

if m_sys_err !=0 pointer form temporry is returned 
beyond containing scope

Change History (1)

comment:1 by Roland Schwarz, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=541730

Altough it is a bug, it can currently do no harm. The
feature is currently unused and as such a implementation detail.
The issue will be addressed when there is need.
Note: See TracTickets for help on using tickets.