]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
It was pointed out[0] that ctags(1) uses some potentially dangerous
authorcjc <cjc@FreeBSD.org>
Fri, 7 May 2004 19:44:40 +0000 (19:44 +0000)
committercjc <cjc@FreeBSD.org>
Fri, 7 May 2004 19:44:40 +0000 (19:44 +0000)
commit54af59dd3a9257596241d335b2ef1df2dbd101c0
treebb8452aff5e31a64a08dc03c1f4bb2630d6b0e5d
parent7664209e3adac46ddbead377ffb11ae0b6185f7e
It was pointed out[0] that ctags(1) uses some potentially dangerous
system(3) calls where user-supplied data is used with no sanity
checking. Since ctags(1) is not setuid and is not likely to be used
in a privileged situation, this is not a big deal. However, the
fix is relatively easy and less ugly than the current code, let's be
safe. (I'm sure there are about 2^134 other system(3) calls like this
out there.)

[0] On freebsd-security by Roman Bogorodskiy <bogorodskiy@inbox.ru>
with subject "ctags(1) command execution vulnerability."

MFC after: 3 days
usr.bin/ctags/ctags.c