[DragonFlyBSD - Bug #3008] (Closed) lib/libalias: three problems

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Mon Apr 10 22:06:27 PDT 2017


Issue #3008 has been updated by dillon.

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


----------------------------------------
Bug #3008: lib/libalias: three problems
http://bugs.dragonflybsd.org/issues/3008#change-13122

* Author: dcb
* Status: Closed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
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.




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list