Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
darshan
darshan
Commits
6d33b9e9
Commit
6d33b9e9
authored
Dec 08, 2016
by
Cong Xu
Browse files
Address darshan-dxt-parser segment fault
Signed-off-by:
Cong Xu
<
congxu@localhost.localdomain
>
parent
2f4d0dbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-util/darshan-dxt-parser.c
View file @
6d33b9e9
...
...
@@ -215,9 +215,6 @@ int main(int argc, char **argv)
ret
=
mod_logutils
[
i
]
->
log_get_record
(
fd
,
(
void
**
)
&
(
lustre_rec_ref
->
rec
));
HASH_ADD
(
hlink
,
lustre_rec_hash
,
rec
->
base_rec
.
id
,
sizeof
(
darshan_record_id
),
lustre_rec_ref
);
}
else
{
ret
=
mod_logutils
[
i
]
->
log_get_record
(
fd
,
(
void
**
)
&
mod_buf
);
}
...
...
@@ -233,7 +230,11 @@ int main(int argc, char **argv)
break
;
}
if
(
i
==
DARSHAN_LUSTRE_MOD
)
continue
;
if
(
i
==
DARSHAN_LUSTRE_MOD
)
{
HASH_ADD
(
hlink
,
lustre_rec_hash
,
rec
->
base_rec
.
id
,
sizeof
(
darshan_record_id
),
lustre_rec_ref
);
continue
;
}
base_rec
=
(
struct
darshan_base_record
*
)
mod_buf
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment