Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Issue 1151503007: Remove redundant functions my_strncpy() and my_strncat() (Closed)

Created:
5 years, 6 months ago by hashimoto
Modified:
5 years, 6 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove redundant functions my_strncpy() and my_strncat() my_strlcpy() and my_strlcat() should be used instead. BUG=None TEST=On an Android phone, opening chrome://inducebrowsercrashforrealz results in adding a new crash report to chrome://crashes Committed: https://crrev.com/049996311153997f3c5aaf178b44d9208ccc0f4f Cr-Commit-Position: refs/heads/master@{#333213}

Patch Set 1 : #

Total comments: 5

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -40 lines) Patch
M components/crash/app/breakpad_linux.cc View 1 2 chunks +8 lines, -40 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
hashimoto
https://codereview.chromium.org/1151503007/diff/20001/components/crash/app/breakpad_linux.cc File components/crash/app/breakpad_linux.cc (left): https://codereview.chromium.org/1151503007/diff/20001/components/crash/app/breakpad_linux.cc#oldcode1551 components/crash/app/breakpad_linux.cc:1551: WriteLog(info.filename, filename_length - 1); WriteLog's Android implementation ignores the ...
5 years, 6 months ago (2015-06-05 07:02:43 UTC) #3
Lei Zhang
https://codereview.chromium.org/1151503007/diff/20001/components/crash/app/breakpad_linux.cc File components/crash/app/breakpad_linux.cc (left): https://codereview.chromium.org/1151503007/diff/20001/components/crash/app/breakpad_linux.cc#oldcode1558 components/crash/app/breakpad_linux.cc:1558: unsigned done_filename_len = filename_length - 1 + pid_str_length; On ...
5 years, 6 months ago (2015-06-05 18:24:09 UTC) #4
hashimoto
https://codereview.chromium.org/1151503007/diff/20001/components/crash/app/breakpad_linux.cc File components/crash/app/breakpad_linux.cc (right): https://codereview.chromium.org/1151503007/diff/20001/components/crash/app/breakpad_linux.cc#newcode1545 components/crash/app/breakpad_linux.cc:1545: WriteLog(done_filename, done_filename_len); On 2015/06/05 18:24:09, Lei Zhang wrote: > ...
5 years, 6 months ago (2015-06-06 02:11:05 UTC) #5
Lei Zhang
lgtm and thank you for fixing this.
5 years, 6 months ago (2015-06-06 02:34:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1151503007/40001
5 years, 6 months ago (2015-06-06 04:45:52 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:40001)
5 years, 6 months ago (2015-06-06 04:48:59 UTC) #9
commit-bot: I haz the power
5 years, 6 months ago (2015-06-06 04:49:49 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/049996311153997f3c5aaf178b44d9208ccc0f4f
Cr-Commit-Position: refs/heads/master@{#333213}

Powered by Google App Engine
This is Rietveld 408576698