Commit e1943f59 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Don't overrun buffer.

2000-11-21  Morten Welinder  <terra@diku.dk>

	* src/stf-parse.c (stf_parse_get_colwidth): Don't overrun buffer.
parent fc9c8e35
2000-11-21 Morten Welinder <terra@diku.dk>
* src/stf-parse.c (stf_parse_get_colwidth): Don't overrun buffer.
2000-11-20 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_dir): Use g_get_home_dir, not just
......
2000-11-21 Morten Welinder <terra@diku.dk>
* src/stf-parse.c (stf_parse_get_colwidth): Don't overrun buffer.
2000-11-20 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_dir): Use g_get_home_dir, not just
......
2000-11-21 Morten Welinder <terra@diku.dk>
* src/stf-parse.c (stf_parse_get_colwidth): Don't overrun buffer.
2000-11-20 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_dir): Use g_get_home_dir, not just
......
2000-11-21 Morten Welinder <terra@diku.dk>
* src/stf-parse.c (stf_parse_get_colwidth): Don't overrun buffer.
2000-11-20 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_dir): Use g_get_home_dir, not just
......
2000-11-21 Morten Welinder <terra@diku.dk>
* src/stf-parse.c (stf_parse_get_colwidth): Don't overrun buffer.
2000-11-20 Morten Welinder <terra@diku.dk>
* src/gutils.c (gnumeric_usr_dir): Use g_get_home_dir, not just
......
......@@ -1265,7 +1265,7 @@ stf_parse_get_colwidth (StfParseOptions_t *parseoptions, const char *data, int i
if (stf_parse_csv_is_separator (iterator, parseoptions->separators, parseoptions->customfieldseparator) || *iterator == parseoptions->terminator || *iterator == '\0') {
if (parseoptions->duplicates) {
if (*iterator != 0 && parseoptions->duplicates) {
const char *nextiterator = iterator;
nextiterator++;
......
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