Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Fix X509_REQ_INFO enc_len with Linux 64 bits#51

Open
stanislas-m wants to merge1 commit intoopenssl-net:master
base:master
Choose a base branch
Loading
fromstanislas-m:patch-1

Conversation

stanislas-m
Copy link

@stanislas-mstanislas-m commentedApr 16, 2018
edited
Loading

Hello,

In OpenSSL sources, ASN1_ENCODING len is defined as a long, which is 32 bits on Windows 64 bits; but 64 bits on other systems (like GNU/Linux). Changing len type from int to IntPtr in non-Windows 64 bits case allows to handle both cases, and prevent data truncation.

In OpenSSL sources, ASN1_ENCODING len is defined as a long, which is 32 bits on Windows 64 bits; but 64 bits on other systems (like GNU/Linux). Changing len type from int to IntPtr in non-Windows 64 bits case allows to handle both cases, and prevent data truncation.
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@stanislas-m

[8]ページ先頭

©2009-2025 Movatter.jp