Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
ocli
fix-dangling-pointer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-dangling-pointer.patch of Package ocli
--- ocli-0.9.0.orig/owntracks-cli-publisher.c 2022-09-24 10:36:17.717664852 +0200 +++ ocli-0.9.0/owntracks-cli-publisher.c 2022-09-24 10:14:17.035192128 +0200 @@ -311,7 +311,7 @@ p = NULL; while ((p = (char**)utarray_next(parms, p))) { - char *key = basename(*p), *val = NULL; + char *key = basename(*p), *val = NULL, buf[1025]; FILE *fp; bool is_exec = false; @@ -333,7 +333,7 @@ perror(*p); continue; } else { - char buf[1025], *bp; + char *bp; if (fgets(buf, sizeof(buf), fp) != NULL) { if ((bp = strchr(buf, '\r')) != NULL) *bp = 0;
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