Files
textmate/Shared
Allan Odgaard 45fdb380ea Extend std::string’s lifetime for safe use of c_str
20% of reported crashes are in launch_tbz which indirectly call oak::c_array. My hunch is that the c_str buffer is overwritten because the std::string which returned it has been disposed, this makes strdup() do a bad allocation / memory read.

This would likely be a race condition (wrt. the c_str buffer) and coincidentally the oak::c_array is called in a thread (when it crashes).
2012-09-16 11:41:24 +02:00
..
2012-08-30 23:05:08 +02:00