Re: [dev] [sent] 0.1 release

From: Markus Teich <markus.teich_AT_stusta.mhn.de>
Date: Wed, 18 Nov 2015 00:53:16 +0100

Joerg Jung wrote:
> Here comes another one...
>
> As mentioned in this thread:
> http://marc.info/?t=144772469400002&r=1&w=2 in this mail:
> http://marc.info/?l=oss-security&m=144774881126397&w=2
>
> 'sent empty' with empty being a 0-length file will produce a memory
> access error. On OpenBSD with malloc.conf -> J it happily dereferences a
> 0xd0d0d0d0d0d0d0 pointer since there is not such input as line[0] if the
> file is empty.
>
> Same for a file with blank lines.

Heyho Joerg,

I cannot reproduce both of these bugs with current HEAD. I get the usage message
as it is expected due to the following two lines in main():

    if (!slides || !slides[0].lines)
        usage();

Maybe you or they are running an old version? Please try the latest one.

--Markus
Received on Wed Nov 18 2015 - 00:53:16 CET

This archive was generated by hypermail 2.3.0 : Wed Nov 18 2015 - 01:00:10 CET