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

Issue 301002: Fix stupid parameter shadowing bug in Linux File ID code (Closed)

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

Description

In my patch in r830 I introduced a stupid bug by shadowing a function parameter
with a local variable, which would cause the Linux file ID code to use the first
PROGBITS section it encountered to generate the file ID, instead of .text. This
simple patch fixes it (and I added a test).

Patch Set 1 #

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

Messages

Total messages: 2
Ted Mielczarek
13 years, 11 months ago #1
Lei Zhang (chromium)
13 years, 11 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