Package: octave2.1 Version: 2.1.64-1 Severity: normal strftime crashes when given an incomplete structure as input. The following will crash octave 2.1: -- Begin Script tm.year = 2000; tm.mon = 1; tm.day = 1; strftime("%Y%m%d", tm) -- End Script The crash looks like this on my system (I named this script "octavebug"): -- Begin Error octave:1> octavebug panic: Segmentation fault -- stopping myself... attempting to save variables to `octave-core'... save to `octave-core' complete Segmentation fault -- End Error I'll attach the octave-core file that it created. Bill -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-686 Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1) Versions of packages octave2.1 depends on: ii atlas3-base [liblapack.so.3 3.6.0-19 Automatically Tuned Linear Algebra ii fftw3 3.0.1-11 Library for computing Fast Fourier ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an ii libg2c0 1:3.3.5-8 Runtime library for GNU Fortran 77 ii libgcc1 1:3.4.3-6 GCC support library ii libhdf5-serial-1.6.2-0 [lib 1.6.2-3 Hierarchical Data Format 5 (HDF5) ii libncurses5 5.4-4 Shared libraries for terminal hand ii libreadline4 4.3-11 GNU readline and history libraries ii libstdc++5 1:3.3.5-8 The GNU Standard C++ Library v3 ii texinfo 4.7-2.2 Documentation system for on-line i ii zlib1g 1:1.2.2-3 compression library - runtime -- no debconf information
Attachment:
octave-core
Description: Binary data