Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:FactoryCandidates
indent
indent-CVE-2024-0911.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File indent-CVE-2024-0911.patch of Package indent
diff --git a/src/output.c b/src/output.c index ee01bcc..17eee6e 100644 --- a/src/output.c +++ b/src/output.c @@ -290,7 +290,7 @@ void set_buf_break ( /* Did we just parse a bracket that will be put on the next line * by this line break? */ - if ((*token == '(') || (*token == '[')) + if (level > 0 && ((*token == '(') || (*token == '['))) { --level; /* then don't take it into account */ } -- 2.43.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