Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP4:RebuildFactoryUpdates
vis
vis-test-builtin_strncpy-bounds.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vis-test-builtin_strncpy-bounds.patch of Package vis
--- test/core/ccan-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/test/core/ccan-config.c +++ b/test/core/ccan-config.c @@ -281,7 +281,7 @@ static struct test tests[] = { "#include <string.h>\n" "int main(int argc, char *argv[]) {\n" " char pad[sizeof(int *) * 1];\n" - " strncpy(pad, argv[0], sizeof(pad));\n" + " memcpy(pad, argv[0], sizeof(pad));\n" " return *(int *)(pad) == *(int *)(pad + 1);\n" "}\n" }, { "HAVE_UTIME", DEFINES_FUNC, NULL, NULL,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor