"suid root" bug in isadump/isaset

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

 



On Fri, 17 Apr 2009 11:11:38 -0700 (PDT), Linux User wrote:
> Dear Lm- Sensors Developers,
> 
> both isadump and isaset contain the check:
> 
>   if (getuid()) {
>     fprintf(stderr, "Error: Can only be run as root "
>             "(or make it suid root)\n");
>     exit(1);
>   }
> 
> The text of the error message suggests that these programs could be installed "suid root". If  this is the case,
> the check should use "geteuid()" instead of "getuid()".

Done, thanks.

-- 
Jean Delvare



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux