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

Issue 759833008: NaCl: Fix off-by-one in getcwd() syscall emulation. (Closed)

Created:
6 years ago by Sam Clegg
Modified:
6 years ago
Reviewers:
Roland McGrath
CC:
native-client-reviews_googlegroups.com, Mark Seaborn
Base URL:
http://git.chromium.org/native_client/nacl-glibc.git@master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 3

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M sysdeps/nacl/sysdep.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Sam Clegg
6 years ago (2014-12-06 18:12:52 UTC) #2
Roland McGrath
https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h File sysdeps/nacl/sysdep.h (right): https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h#newcode601 sysdeps/nacl/sysdep.h:601: for (len = 0; buf[len] != '\0'; ++len); Why ...
6 years ago (2014-12-08 20:56:48 UTC) #3
Sam Clegg
https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h File sysdeps/nacl/sysdep.h (right): https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h#newcode601 sysdeps/nacl/sysdep.h:601: for (len = 0; buf[len] != '\0'; ++len); On ...
6 years ago (2014-12-08 21:10:29 UTC) #4
Roland McGrath
On 2014/12/08 21:10:29, Sam Clegg wrote: > https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h > File sysdeps/nacl/sysdep.h (right): > > https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h#newcode601 ...
6 years ago (2014-12-08 21:16:51 UTC) #5
Roland McGrath
Conversely, of course, if the "+ 1" is all it takes to fix this bug, ...
6 years ago (2014-12-08 21:17:43 UTC) #6
Sam Clegg
https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h File sysdeps/nacl/sysdep.h (right): https://codereview.chromium.org/759833008/diff/1/sysdeps/nacl/sysdep.h#newcode601 sysdeps/nacl/sysdep.h:601: for (len = 0; buf[len] != '\0'; ++len); On ...
6 years ago (2014-12-08 22:38:40 UTC) #7
Roland McGrath
lgtm with -1 adjustment https://codereview.chromium.org/759833008/diff/20001/sysdeps/nacl/sysdep.h File sysdeps/nacl/sysdep.h (right): https://codereview.chromium.org/759833008/diff/20001/sysdeps/nacl/sysdep.h#newcode602 sysdeps/nacl/sysdep.h:602: return __strnlen(buf, size) + 1; ...
6 years ago (2014-12-08 22:57:06 UTC) #8
Sam Clegg
On 2014/12/08 22:57:06, Roland McGrath wrote: > lgtm with -1 adjustment > > https://codereview.chromium.org/759833008/diff/20001/sysdeps/nacl/sysdep.h > ...
6 years ago (2014-12-08 23:29:54 UTC) #9
Sam Clegg
6 years ago (2014-12-09 02:07:58 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
1106743ae743989ed845d2bf5156535fbf2c7383 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698