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

Issue 4439076: Fix issue 360 - uninit reads in NtCreateThreadEx (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by timurrrr_at_google_com
Modified:
13 years ago
Reviewers:
bruening
Visibility:
Public.

Description

Commited as http://code.google.com/p/drmemory/source/detail?r=273

Patch Set 1 #

Total comments: 3

Patch Set 2 : Address the comments #

Patch Set 3 : ... and add a comment #

Total comments: 13

Patch Set 4 : . #

Total comments: 1

Patch Set 5 : handle the post syscall as well #

Patch Set 6 : . #

Total comments: 6

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -16 lines) Patch
M drmemory/syscall_windows.c View 1 2 3 4 5 6 3 chunks +31 lines, -16 lines 0 comments Download

Messages

Total messages: 8
timurrrr_at_google_com
Looks like NtCreateThreadEx needs separate handling of one more arg. http://codereview.appspot.com/4439076/diff/1/drmemory/syscall_windows.c File drmemory/syscall_windows.c (right): http://codereview.appspot.com/4439076/diff/1/drmemory/syscall_windows.c#newcode913 ...
13 years ago (2011-04-27 10:50:39 UTC) #1
bruening
General idea is there but details are off: see comments http://codereview.appspot.com/4439076/diff/1/drmemory/syscall_windows.c File drmemory/syscall_windows.c (right): http://codereview.appspot.com/4439076/diff/1/drmemory/syscall_windows.c#newcode914 ...
13 years ago (2011-04-27 14:42:02 UTC) #2
timurrrr_at_google_com
http://codereview.appspot.com/4439076/diff/1/drmemory/syscall_windows.c File drmemory/syscall_windows.c (right): http://codereview.appspot.com/4439076/diff/1/drmemory/syscall_windows.c#newcode914 drmemory/syscall_windows.c:914: sizeof(info.struct_size), &info) && On 2011/04/27 14:42:02, bruening wrote: > ...
13 years ago (2011-04-27 15:50:27 UTC) #3
bruening
http://codereview.appspot.com/4439076/diff/6001/drmemory/syscall_windows.c File drmemory/syscall_windows.c (right): http://codereview.appspot.com/4439076/diff/6001/drmemory/syscall_windows.c#newcode912 drmemory/syscall_windows.c:912: if (safe_read((byte *)pt->sysarg[10] + offsetof(create_thread_info_t, struct_size), hard to tell ...
13 years ago (2011-04-27 16:07:36 UTC) #4
timurrrr_at_google_com
http://codereview.appspot.com/4439076/diff/6001/drmemory/syscall_windows.c File drmemory/syscall_windows.c (right): http://codereview.appspot.com/4439076/diff/6001/drmemory/syscall_windows.c#newcode912 drmemory/syscall_windows.c:912: if (safe_read((byte *)pt->sysarg[10] + offsetof(create_thread_info_t, struct_size), On 2011/04/27 16:07:36, ...
13 years ago (2011-04-27 16:18:10 UTC) #5
bruening
Looks good. See minor comments. Strange: the pulled-out comments look wrong: should be 3 comments, ...
13 years ago (2011-04-27 19:41:41 UTC) #6
timurrrr_at_google_com
http://codereview.appspot.com/4439076/diff/13001/drmemory/syscall_windows.c File drmemory/syscall_windows.c (right): http://codereview.appspot.com/4439076/diff/13001/drmemory/syscall_windows.c#newcode915 drmemory/syscall_windows.c:915: info.struct_size = sizeof(info); /* avoid overflowing the sturct */ ...
13 years ago (2011-04-27 19:50:34 UTC) #7
bruening
13 years ago (2011-04-27 19:52:38 UTC) #8
LGTM.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b