[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#55891] [PATCH] gnu: Add iec16022
From: |
Maxime Devos |
Subject: |
[bug#55891] [PATCH] gnu: Add iec16022 |
Date: |
Fri, 10 Jun 2022 17:55:44 +0200 |
User-agent: |
Evolution 3.38.3-1 |
Remco van 't Veer schreef op vr 10-06-2022 om 17:04 [+0200]:
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/rdoeffinger/iec16022")
> + (commit "c9a9fd926fd1e6cca9782fe3f8c2bab66010ca51")))
> + (file-name (git-file-name name version))
> + (sha256
Contains a bug: on line
https://github.com/rdoeffinger/iec16022/blob/c9a9fd926fd1e6cca9782fe3f8c2bab66010ca51/image.c#L284
, it allocates a buffer, which can fail (by returning NULL).
It then passes the possibly NULL buffer to compress2.
Also, it writes files without checking for errors
(e.g. EIO, ENOSPC or EDQUOT).
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
[bug#55891] [PATCH v2] gnu: Add iec16022., Remco van 't Veer, 2022/06/10
[bug#55891] [PATCH v3] gnu: Add iec16022., Remco van 't Veer, 2022/06/10