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
mpim-sw
libcdi
Commits
2d5ab68c
Commit
2d5ab68c
authored
Jun 11, 2015
by
Uwe Schulzweida
Browse files
gribapiScanTimestep: wrong realloaction of records (bug fix)
parent
0d07752d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
2d5ab68c
...
...
@@ -980,7 +980,7 @@ int gribapiScanTimestep1(stream_t * streamptr)
vlistDefTaxis
(
vlistID
,
taxisID
);
int
nrecords
=
streamptr
->
tsteps
[
0
].
nallrecs
;
if
(
nrecords
>
streamptr
->
tsteps
[
0
].
recordSize
)
if
(
nrecords
<
streamptr
->
tsteps
[
0
].
recordSize
)
{
streamptr
->
tsteps
[
0
].
recordSize
=
nrecords
;
streamptr
->
tsteps
[
0
].
records
=
...
...
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