diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-01-08 20:52:42 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-01-08 20:52:42 +0000 |
| commit | 0ae7da361c98ca8a2119a933c543a76970f2dbef (patch) | |
| tree | aeec33bc6cd462e14b554f2902e3305bc998f56e /src | |
| parent | warning cleanup (diff) | |
| download | inkscape-0ae7da361c98ca8a2119a933c543a76970f2dbef.tar.gz inkscape-0ae7da361c98ca8a2119a933c543a76970f2dbef.zip | |
Prevent infinite loop with bad input.
(bzr r12893)
Diffstat (limited to 'src')
| -rw-r--r-- | src/helper-fns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helper-fns.h b/src/helper-fns.h index 95de4a1b0..699fbbe11 100644 --- a/src/helper-fns.h +++ b/src/helper-fns.h @@ -107,6 +107,7 @@ inline std::vector<gdouble> helperfns_read_vector(const gchar* value){ // We could leave this out, too. If strtod can't convert // anything, it will return zero. ret = 0; + break; } v.push_back(ret); |
