From: "ko1 (Koichi Sasada)" Date: 2012-04-09T17:48:41+09:00 Subject: [ruby-core:44216] [ruby-trunk - Bug #6235] Call to malloc not checked in thread_pthread.c Issue #6235 has been updated by ko1 (Koichi Sasada). Assignee changed from kosaki (Motohiro KOSAKI) to ko1 (Koichi Sasada) I'll fix it. ---------------------------------------- Bug #6235: Call to malloc not checked in thread_pthread.c https://bugs.ruby-lang.org/issues/6235#change-25743 Author: rubysubmit (Ruby Submit) Status: Assigned Priority: Normal Assignee: ko1 (Koichi Sasada) Category: Target version: ruby -v: ruby 1.9.2p290 File: thread_pthread.c struct cached_thread_entry *entry = (struct cached_thread_entry *)malloc(sizeof(struct cached_thread_entry)); struct timeval tv; struct timespec ts; gettimeofday(&tv, 0); ts.tv_sec = tv.tv_sec + 60; ts.tv_nsec = tv.tv_usec * 1000; pthread_mutex_lock(&thread_cache_lock); { entry->th_area = &th_area; -- http://bugs.ruby-lang.org/