Project

General

Profile

Bug #3008

lib/libalias: three problems

Added by dcb 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/04/2017
Due date:
% Done:

0%


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.

History

#1 Updated by dillon 3 months 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

Also available in: Atom PDF