Actions
Bug #3008
closedlib/libalias: three problems
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/04/2017
Due date:
% Done:
0%
Estimated time:
Description
dragonfly/lib/libalias/alias_db.c:857]: (style) Variable 'icount' is modified but its new value is never used.
[dragonfly/lib/libalias/alias_proxy.c:667]: (warning) sscanf() without field width limits can crash with huge input data.
[dragonfly/lib/libalias/alias_proxy.c:738]: (warning) sscanf() without field width limits can crash with huge input data.
The first one looks like a simple unused local variable.
The next two look like buffer sizes need to go into %s specifiers.
Updated by dillon over 7 years ago
- Status changed from New to Closed
No bugs here. I removed the unused variable from alias_db.c. The sscanf()s in alias_proxy.c are constrained by the input buffer size and cannot overflow.
Fix committed by Matt
Actions