tech-security archive

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

Re: realpath(3)



Le Thu, May 25, 2023 at 03:30:12PM +0200, tlaronde%polynum.com@localhost a écrit :
> 
> And would it be good then to define, in case of error, resolvedname
> with a name (is the empty string safe?) that for sure will make
> any operation on this path fail?

Would a special device with mod all 0 "/dev/nil" be a good idea?
-- 
        Thierry Laronde <tlaronde +AT+ polynum +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C


Home | Main Index | Thread Index | Old Index