Re: %u in format string (no. 1) requires 'unsigned int *' but the argument type is 'int *'.

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

 



On Wednesday, July 30, 2014 09:51:40 PM Toralf Förster wrote:
> /me wonders if this issue (found by cppcheck) :
> 
>         ret = -EINVAL;
>         if (sscanf(page, "%u", &new_value) != 1)<--- %u in format string
> (no. 1) requires 'unsigned int *' but the argument type is 'int *'. goto
> out;
> 
> is already in one's trivial patch queue ?

Is this in sel_write_avc_cache_threshold()?  If so, no, we don't currently 
have a patch queued for this, it would be great if you wanted to submit a 
patch to turn new_value into an unsigned int.

-- 
paul moore
www.paul-moore.com


_______________________________________________
Selinux mailing list
Selinux@xxxxxxxxxxxxx
To unsubscribe, send email to Selinux-leave@xxxxxxxxxxxxx.
To get help, send an email containing "help" to Selinux-request@xxxxxxxxxxxxx.





[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux