diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2014-02-11 10:55:10 +0000 |
|---|---|---|
| committer | tavmjong-free <tavmjong@free.fr> | 2014-02-11 10:55:10 +0000 |
| commit | 3a206ec046a04b2d2adcff78918b1231ba086e8b (patch) | |
| tree | 38c03dc82ac4f5664201c070b8eff051b4ab2e36 /src/viewbox.cpp | |
| parent | Extensions->Render submenu. Scaling into document units for grid.cpp (Bug 124... (diff) | |
| download | inkscape-3a206ec046a04b2d2adcff78918b1231ba086e8b.tar.gz inkscape-3a206ec046a04b2d2adcff78918b1231ba086e8b.zip | |
Fix parsing of preserveAspectRatio broken in r13016.
(bzr r13019)
Diffstat (limited to 'src/viewbox.cpp')
| -rw-r--r-- | src/viewbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewbox.cpp b/src/viewbox.cpp index e46fe005c..f59909abc 100644 --- a/src/viewbox.cpp +++ b/src/viewbox.cpp @@ -103,7 +103,7 @@ void SPViewBox::set_preserveAspectRatio(const gchar* value) { int len = e - p; - if ( (len > 8) || (len < 256) ) { // note the extra check for buffer overflow + if (len > 8) { // Can't have buffer overflow as 8 < 256 return; } |
