lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 11 Oct 2007 22:30:34 +0200
From:	Patrick McHardy <kaber@...sh.net>
To:	Andreas Henriksson <andreas@...al.se>
CC:	shemminger@...ux-foundation.org, netdev@...r.kernel.org
Subject: Re: iproute2: resend of patches from Debian.

Andreas Henriksson wrote:
> Abort flush after 10 seconds.

This should be optional IMO.

> Add references to lartc, also drop bogus reference to tc-filters

There's a bad habit of reporting bugs on lartc that belong to netdev,
please also make it perfectly clear that lartc is not for bug-reports.

> Fix overflow in time2tick / tick2time.
> 
> The helper functions gets passed an unsigned int, which gets cast to long
> and overflows.
> 
> See Debian bug #175462 - http://bugs.debian.org/175462
> 
> Signed-off-by: Andreas Henriksson <andreas@...al.se>
> 
> diff -uri iproute-20070313.orig/tc/tc_core.c iproute-20070313/tc/tc_core.c
> --- iproute-20070313.orig/tc/tc_core.c	2007-03-13 22:50:56.000000000 +0100
> +++ iproute-20070313/tc/tc_core.c	2007-08-15 00:41:30.000000000 +0200
> @@ -35,12 +35,12 @@
>  }
>  
>  
> -long tc_core_time2tick(long time)
> +unsigned tc_core_time2tick(unsigned time)
>  {
>  	return time*tick_in_usec;
>  }
>  
> -long tc_core_tick2time(long tick)
> +unsigned tc_core_tick2time(unsigned tick)
>  {
>  	return tick/tick_in_usec;
>  }

What about the other functions returning long? I think all of these
should be unsigned.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ