Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #75852

Bug#1014272: src:linux: sign-file: correct error handling

From Salvatore Bonaccorso <carnil@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1014272: src:linux: sign-file: correct error handling
Date 2022-07-06 07:20 +0200
Message-ID <EG5C9-9rqf-5@gated-at.bofh.it> (permalink)
References <EF4yt-8PTN-1@gated-at.bofh.it> <EF4yt-8PTN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Ansgar,

On Sun, Jul 03, 2022 at 11:47:51AM +0200, Ansgar wrote:
> Source: linux
> Version: 5.18.5-1
> Severity: normal
> Tags: upstream
> Control: found -1 4.19.208-1 5.10.84-1
> 
> The functions CMS_final, i2d_CMS_bio_stream, i2d_PKCS7_bio and
> BIO_free all return 1 for success or 0 for failure. The old check
> for a value less than 0 would never catch an error.
> 
> I tried signing a kernel module with the patched sign-file and that
> still worked.

Can you forward your patch to upstream?

Regards,
Salvatore

Back to linux.debian.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Bug#1014272: src:linux: sign-file: correct error handling Ansgar <ansgar@debian.org> - 2022-07-03 12:00 +0200
  Bug#1014272: src:linux: sign-file: correct error handling Daniel Lewart <lewart3@gmail.com> - 2022-07-04 00:10 +0200
  Bug#1014272: src:linux: sign-file: correct error handling Salvatore Bonaccorso <carnil@debian.org> - 2022-07-06 07:20 +0200

csiph-web