[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] make-docfile: don't corrupt heap for an invalid .elc file
From: |
Jim Meyering |
Subject: |
Re: [PATCH] make-docfile: don't corrupt heap for an invalid .elc file |
Date: |
Sun, 30 Jan 2011 10:21:21 +0100 |
Jim Meyering wrote:
> Subject: [PATCH] make-docfile: don't corrupt heap for an invalid .elc file
>
> "printf 'address@hidden' > in.elc; ./make-docfile in.elc" would write a '\0'
> one byte before the just-malloc'd saved_string buffer.
> * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
> doc string length. Also fix an always-false while-loop test.
I committed this to master.