[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #12099] O_NOFOLLOW may be erroneously disabled

From: Dmitry V. Levin
Subject: [bugs #12099] O_NOFOLLOW may be erroneously disabled
Date: Tue, 22 Feb 2005 15:11:12 +0000
User-agent: ELinks


                 Summary: O_NOFOLLOW may be erroneously disabled
                 Project: findutils
            Submitted by: ldv
            Submitted on: Tue 02/22/2005 at 15:11
                Category: find
                Severity: 5 - Average
              Item Group: Wrong result
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 4.2.18
           Fixed Release: None



check_nofollow() uses locale-dependant function atof(3) to calculate kernel
version number.
Various locales have various decimal points, so check_nofollow() may fail to
calculate correct kernel version number.
For example, ru_RU.* locales use "," as decimal point.
As result, O_NOFOLLOW gets disabled e.g. on GNU/Linux when used with these

This could be fixed either by moving check_nofollow() call before
setlocale(3) call, or by changing kernel version parser to avoid locale


This item URL is:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]