Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Aug 15, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Aug 15, 2023
madler and others added 29 commits February 6, 2024 18:27
It was being used only as a safe version of strcpy(). Instead, use
a safe alternative to strcpy().
Those functions were introduced in C99. However it is assumed that
they are there if under Windows, since Visual C claims C89/90, but
does have those functions, or variants.
Not all toolchains on UNIX-style operating systems predefine
"unix". For example, it's missing on NetBSD, OpenBSD/gcc, AIX,
HP-UX. There is no single macro defined everywhere, but checking
both "__unix__" and "__unix" should cover everything except macOS,
which is already checked for using "__APPLE__".

Note that case sensitivity should default to off on macOS and
cygwin, so the check there is different.
madler and others added 30 commits January 10, 2026 21:40
To avoid the propagation and possible disclosure of uninitialized
memory contents.
To further guard against the propagation of uninitialized memory.
Provide size_t arguments for Windows, on which a long is 32 bits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.