Skip to content

Conversation

@bagder
Copy link
Member

@bagder bagder commented Oct 17, 2025

Avoid the possible 64-bit offset truncation when used on systems with small 'long', like Windows.

bonus: make mime_open_file() return bool

Pointed out by ZeroPath

Avoid the possible 64-bit offset truncation when used on systems with
small 'long', like Windows.

bonus: make mime_open_file() return bool

Pointed out by ZeroPath
@bagder bagder added the MIME label Oct 17, 2025
@bagder bagder marked this pull request as ready for review October 17, 2025 12:46
@bagder bagder closed this in 4fb12f2 Oct 17, 2025
@bagder bagder deleted the bagder/mime-fseek branch October 17, 2025 14:13
vszakats added a commit to vszakats/curl that referenced this pull request Oct 17, 2025
vszakats added a commit that referenced this pull request Oct 18, 2025
- tool_formparse: replace truncated `fseek` with `curlx_fseek`.
- tool_operate: replace truncated `fseek` with `curlx_fseek`.
- tool_paramhlp: replace local duplicate `myfseek`, with `curlx_fseek`.

Follow-up to 4fb12f2 #19100

Closes #19107
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant