Commit b8890249 authored by Kipp Cannon's avatar Kipp Cannon

Merge branch 'stringsearch_gcc8fixes' into 'master'

StringSearch.c:  fix memory problem

See merge request lscsoft/lalsuite!515
parents c8d9dbc5 f199e453
Pipeline #35408 passed with stages
in 29 minutes and 13 seconds
......@@ -579,7 +579,7 @@ int FindEvents(struct CommandLineArgsTag CLA, const StringTemplate *strtemplate,
strncpy( new->ifo, CLA.ChannelName, 2 );
new->ifo[2] = 0;
strncpy( new->search, "StringCusp", sizeof( new->search ) );
strncpy( new->channel, CLA.ChannelName, sizeof( new->channel ) );
strncpy( new->channel, CLA.ChannelName, sizeof( new->channel ) - 1);
/* compute start and peak time and duration, give 1 sample of fuzz on
* both sides */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment