Mercurial > octave-nkf
view .hgsub @ 17631:94dd9bba06a0
Fix validation of array properties to set(), avoid segfaults (bug #bug #35687).
* libinterp/corefcn/graphics.cc(array_property::validate): Don't accept an
empty matrix by default. Instead, check an empty matrix against any size
constraints to verify it is allowed.
* libinterp/corefcn/graphics.in.h: Update init() routines for all graphic
objects to include size constraints on any array_properties. Also
matched type constraints, such as "double" or "uint8", to Matlab.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 11 Oct 2013 09:20:06 -0700 |
parents | 44f30dcd87e0 |
children |