[openssl/openssl] b5b34d: BIO: avoid returning internal FILE * with UPLINK-e...
'Małgorzata Olszówka' via openssl-commits <[email protected]> Wed, 08 Jul 2026 02:50:35 -0700
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: b5b34d32cb98341434dd8b88a13182b0131d9344
https://github.com/openssl/openssl/commit/b5b34d32cb98341434dd8b88a13182b0131d9344
Author: olszomal <[email protected]>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M crypto/bio/bss_file.c
M doc/man3/BIO_s_file.pod
Log Message:
-----------
BIO: avoid returning internal FILE * with UPLINK-enabled builds on Windows
On Windows with UPLINK enabled, BIO_get_fp() may return a FILE * pointer
incompatible with the C runtime. Ensure that it returns NULL instead,
preventing undefined behavior in applications. Update the documentation
to include the missing return type for BIO_[gs]et_fp() and remove
the mention that BIO_get_fp() never returns 0, as it does so now
when NULL fp is returned.
Signed-off-by: olszomal <[email protected]>
Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Eugene Syromiatnikov <[email protected]>
MergeDate: Wed Jul 8 09:47:40 2026
(Merged from https://github.com/openssl/openssl/pull/28172)
Commit: d2a9af2144ac2938619e44af3eaeaed3ea49cb05
https://github.com/openssl/openssl/commit/d2a9af2144ac2938619e44af3eaeaed3ea49cb05
Author: olszomal <[email protected]>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M apps/lib/apps.c
Log Message:
-----------
apps: adjust stat usage to account for uplink
Call stat() instead of fstat() when the FILE pointer provided
by BIO_get_fp() is unavailable (as it may be the case in case of UPLINK
builds).
Signed-off-by: olszomal <[email protected]>
Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Eugene Syromiatnikov <[email protected]>
MergeDate: Wed Jul 8 09:47:42 2026
(Merged from https://github.com/openssl/openssl/pull/28172)
Commit: 8c7e3f217cf104fb3bbfc903e5619c17e79b8393
https://github.com/openssl/openssl/commit/8c7e3f217cf104fb3bbfc903e5619c17e79b8393
Author: olszomal <[email protected]>
Date: 2026-07-08 (Wed, 08 Jul 2026)
Changed paths:
M apps/ocsp.c
Log Message:
-----------
apps/ocsp.c: guard index_changed() with OPENSSL_NO_POSIX_IO, not HTTP_DAEMON
Replace #ifdef HTTP_DAEMON with #ifndef OPENSSL_NO_POSIX_IO for code
that only requires POSIX {,f}stat(), improving portability.
Retain syslog() call only when HTTP_DAEMON is defined, use
BIO_printf(bio_err) otherwise.
Reviewed-by: Dmitry Belyavskiy <[email protected]>
Reviewed-by: Eugene Syromiatnikov <[email protected]>
MergeDate: Wed Jul 8 09:47:43 2026
(Merged from https://github.com/openssl/openssl/pull/28172)
Compare: https://github.com/openssl/openssl/compare/a21fdfc89aa0...8c7e3f217cf1
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
--
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/a21fdf-8c7e3f%40github.com.