Don't overwrite the stack canary with out-of-bound write. Lubomir Rintel <lkundrak@v3.sk> diff -urp gcx-0.9.11/src/ccd/ccd_frame.c gcx-0.9.11.fixed/src/ccd/ccd_frame.c --- gcx-0.9.11/src/ccd/ccd_frame.c 2007-03-26 15:24:14.000000000 +0200 +++ gcx-0.9.11.fixed/src/ccd/ccd_frame.c 2009-04-06 21:40:19.161312909 +0200 @@ -1348,7 +1348,7 @@ static int frame_to_float(struct ccd_fra * or -1 for an error */ int fits_get_double(struct ccd_frame *fr, char *kwd, double *v) { - char vs[FITS_HCOLS+1]; + char vs[FITS_HCOLS+2]; FITS_row *row; char * end; double vv;