libmosquitto crashed on iPod

Bug #1373785 reported by Rihua Pan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mosquitto
Fix Released
Undecided
Unassigned

Bug Description

The source code below looks a little strange - mutex is copied as function parameter. Mutex in this function is not the origin one.
I tried to change mutex to pointer. iPos can start normally. However I can not explain why libmosquitto works ok in Mac and Android.

_mosquitto_message_retry_check_actual(..., pthread_mutex_t mutex)
{
    ...
#ifdef WITH_THREADING
    pthread_mutex_lock(&mutex)
#endif
   ...
}

Revision history for this message
Roger Light (roger.light) wrote :

Thanks for the report, this was already fixed in the 1.4 branch.

Changed in mosquitto:
milestone: none → 1.4
status: New → Fix Committed
Changed in mosquitto:
milestone: 1.4 → 1.3.5
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.