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


Groups > linux.debian.kernel > #75827

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

From Daniel Lewart <lewart3@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1014272: src:linux: sign-file: correct error handling
Date 2022-07-04 00:10 +0200
Message-ID <EFfWV-8WUU-5@gated-at.bofh.it> (permalink)
References <EF4yt-8PTN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sun, 03 Jul 2022 11:47:51 +0200, Ansgar wrote:

> 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.

Wow!  This may help solve the following signing bugs:
  * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012741
  * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014311

Thank you!
Daniel Lewart
Urbana, Illinois

Back to linux.debian.kernel | Previous | NextPrevious in thread | Next 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