Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
582
Issues
582
List
Boards
Labels
Service Desk
Milestones
Merge Requests
111
Merge Requests
111
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
6bbb0b8e
Commit
6bbb0b8e
authored
Oct 13, 2019
by
Ondřej Surý
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dnssec: don't qsort() empty hashlist
parent
6bf364ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
bin/dnssec/dnssec-signzone.c
bin/dnssec/dnssec-signzone.c
+4
-1
No files found.
bin/dnssec/dnssec-signzone.c
View file @
6bbb0b8e
...
...
@@ -787,7 +787,10 @@ hashlist_comp(const void *a, const void *b) {
static
void
hashlist_sort
(
hashlist_t
*
l
)
{
qsort
(
l
->
hashbuf
,
l
->
entries
,
l
->
length
,
hashlist_comp
);
INSIST
(
l
->
hashbuf
!=
NULL
||
l
->
length
==
0
);
if
(
l
->
length
>
0
)
{
qsort
(
l
->
hashbuf
,
l
->
entries
,
l
->
length
,
hashlist_comp
);
}
}
static
bool
...
...
Ondřej Surý
@ondrej
mentioned in commit
38866cb5
·
Nov 05, 2019
mentioned in commit
38866cb5
mentioned in commit 38866cb5c444d99596f487e459e1cf2ed26ec0d8
Toggle commit list
Ondřej Surý
@ondrej
mentioned in commit
4cdcfc3f
·
Nov 05, 2019
mentioned in commit
4cdcfc3f
mentioned in commit 4cdcfc3f25fd8bb258bad2ba3521120877348f2d
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment