【背景】 在非静态初始化条件下pthread_mutex_lock,没有经过init初始化就可以对已销毁的锁进行加锁 【修改方案】 在pthread_mutex_destroy中将mutex的magic标记字段清除 re #I4I7OA Signed-off-by: x-xiny <1301913191@qq.com> Change-Id: I5d4cceff852e20e659a7cd06acf27cc6f381962c
【背景】 在非静态初始化条件下pthread_mutex_lock,没有经过init初始化就可以对已销毁的锁进行加锁 【修改方案】 在pthread_mutex_destroy中将mutex的magic标记字段清除 re #I4I7OA Signed-off-by: x-xiny <1301913191@qq.com> Change-Id: I5d4cceff852e20e659a7cd06acf27cc6f381962c