Comments (4)
I do not think that calling fopen with NULL pathname is actually valid. Yes, it might not crash for some implementations but it is not an explicitly documented behavior.
I believe we should check this in SSL_add_file_cert_subjects_to_stack() and fail if the second argument is NULL.
from openssl.
I do not think that calling fopen with NULL pathname is actually valid. Yes, it might not crash for some implementations but it is not an explicitly documented behavior.
At least both Windows and FreeBSD gave me a reasonable errno, but true if it is not documented do not rely on it.
from openssl.
OpenSSL doesn't set errno
anywhere else for errors. It has it's own error mechanism. Why should this case be different?
from openssl.
OpenSSL doesn't set
errno
anywhere else for errors. It has it's own error mechanism. Why should this case be different?
I was solely referring to fopen()
on those two platforms and its behavior with a NULL
argument. No OpenSSL code involved.
from openssl.
Related Issues (20)
- Mainline build failing since #24275 on Ubuntu 24.04 HOT 5
- Performing openssl cmp IR using server address in IPV6 format
- Implement proposal from #553 when consensus reached HOT 3
- openssl usage for fips provider
- After upgrading Openssl from 1.1.1s to 3.1.4, same Python script generate "SSL Error(407) - shutdown while in init" on Openssl 3.1.4 while 1.1.1s has no similar issue..
- openssl speed fails to count for aead decryption HOT 3
- openSSL+Curl crashed HOT 1
- Using KBKDF with KMAC causes dereference of NULL function pointer
- Unexpected two dots for custom x509 extension HOT 1
- Memory leak in X509_verify_cert OpenSSL 1.1.1w
- openssl enc support for aead ciphers HOT 1
- Download page is not showing latest version of 3.0/3.1/3.2 openssl
- Double free in tls_release_read_buffer() HOT 3
- Cannot build libssl.a in isolation: "make build_ssl" also builds apps HOT 6
- stricter parser for `ipv4_from_asc` HOT 1
- When building openssl with mingw64, `make test` is hang up HOT 12
- Unable to encrypt private key with encryption algo AES-256-CBC using i2d_PKCS8PrivateKey_nid_bio API
- [BUG] Curious on why QUIC works on 3.2 but not 3.3 in PUT on NonStop HOT 7
- There is a memory leak defect at line 495 in the /openssl/test/bad_dtls_test.c file. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openssl.