lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 01 Aug 2007 16:50:04 +0200
From:	Bernd Schubert <bschubert@...eap.de>
To:	linux-ext4@...r.kernel.org
Subject:  [PATCH] e2fsck/e2fsprogs: use sscanf() instead of atoi() in the option parser

[resent since the first mail doesn't seem to make it to this list]

Hi,

using atoi() should be avoided in the option parser since it doesn't check
for errors. I almost destroyed an important filesystem since I
specified "e2fsck -C -n" and -n was parsed as option to -C


Cheers,
Bernd



View attachment "sscanf_instead_of_atoi.patch" of type "text/x-diff" (2248 bytes)

Powered by blists - more mailing lists