Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(368)

Issue 523002: Remove a call to new[] from WriteDSODebugStream (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by Ted Mielczarek
Modified:
11 years, 9 months ago
CC:
google-breakpad-dev_googlegroups.com
Visibility:
Public.

Description

I'm not sure when it snuck in, but it's been there a while. WriteDSODebugStream
is using operator new[], which is not a good thing. This was reported as a
deadlock at http://code.google.com/p/google-breakpad/issues/detail?id=513 .
Simple fix to use wasteful_vector instead.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
M src/client/linux/minidump_writer/minidump_writer.cc View 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 2
Ted Mielczarek
11 years, 9 months ago #1
Mark Mentovai
11 years, 9 months ago #2
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted