On Tue, Nov 10, 2009 at 4:06 AM, Pedro A ARANDA wrote:
> Hi all,
>
> just my .2 euto-cents:
>
> With this function, you always assume that strlen(s1) <= strlen(s2),
> right?
>
>> int
>> grub_auth_strcmp (const char *s1, const char *s2)
>> {
>> int n;
>> volatile int ret = 0;
>>
>> for (n = gru
Hi all,
just my .2 euto-cents:
With this function, you always assume that strlen(s1) <= strlen(s2),
right?
> int
> grub_auth_strcmp (const char *s1, const char *s2)
> {
> int n;
> volatile int ret = 0;
>
> for (n = grub_strlen (s1); n >= 0; n--)
> {
> if (*s1 != *s2)
> r