Project

General

Profile

Actions

Bug #3008

closed

lib/libalias: three problems

Added by dcb over 7 years ago. Updated over 7 years ago.

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.

Actions #1

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

Also available in: Atom PDF