BSD Ports

security/pscan 1.3 NetBSD

Security C code scanner for misuse of format strings

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-gpl-v2
Categories
security, devel
Package size
12.2 KiB, 28.7 KiB installed

Description

PScan is a C source code security scanner, which looks for misuse of libc functions which use varargs and printf-style formatting operators. In many situations these can cause security vulnerabilities in the application if it runs with privileges (setugid, or listening to a network socket, etc).

An example of the kind of situation pscan looks for is the following:

variable = "%s"; /* or malicious user input */ sprintf(buffer, variable); /* BAD! */

In the other systems

SystemPortVersion
NetBSDsecurity/pscan1.3
OpenBSDdevel/pscan1.3p0v0

Install

Binary package:

pkgin install pscan

From pkgsrc:

cd /usr/pkgsrc/security/pscan && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3
NetBSD 10.1 aarch641.3
SmartOS / illumos x86_641.3
macOS 15 arm641.3

Dependencies

No port depends on this one.