projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[aot] Set null uw_info for tramps without unwind info
[mono.git]
/
mono
/
utils
/
mono-proclib.c
diff --git
a/mono/utils/mono-proclib.c
b/mono/utils/mono-proclib.c
index c4e20e4ed42400bad8e38c6ddb3a8ff100d13b87..9bf6ca52ae0188a5f93badde282e87aa21ef4510 100644
(file)
--- a/
mono/utils/mono-proclib.c
+++ b/
mono/utils/mono-proclib.c
@@
-187,7
+187,7
@@
get_pid_status_item_buf (int pid, const char *item, char *rbuf, int blen, MonoPr
*error = MONO_PROCESS_ERROR_NOT_FOUND;
return NULL;
}
- while ((s = fgets (buf,
blen
, f))) {
+ while ((s = fgets (buf,
sizeof (buf)
, f))) {
if (*item != *buf)
continue;
if (strncmp (buf, item, len))