EVDO and ubuntu 6.10

Michael Halcrow mike at halcrow.us
Fri Jan 5 13:53:09 MST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

On Fri, Jan 05, 2007 at 05:24:53AM +0000, Jason Holt wrote:
> -		buffer_size = le16_to_cpu(endpoint->wMaxPacketSize);
> +		buffer_size = (endpoint->wMaxPacketSize > 
> maxSize)?endpoint->wMaxPacketSize:maxSize;

In general, it's a bad idea to flipantly discard endian conversions.

Mike
.___________________________________________________________________.
                         Michael A. Halcrow                          
       Security Software Engineer, IBM Linux Technology Center       
GnuPG Fingerprint: 419C 5B1E 948A FA73 A54C  20F5 DB40 8531 6DCA 8769

"Religion turns poetry into prose."                                  
 - Joseph Campbell

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iQEVAwUBRZ66pdtAhTFtyodpAQN3TggAkCzTDLb/UogThcZ1fDCcmV3UECSt0fsa
73qnCWaRijcM0eThY0bs8/6G8DdgC4gs6b2vZWclgrswDEcJ5Bg3niN5An9zpwLp
y2kmVoTAq/WrF4aNqQP6HtyndYN/rDQnuJ0kgfZcttRzDbGHCx90PtTAO5lwAsfj
5i+9P2qjpSmO9BPofqvUlMNABrx+EpWMeXVjHv3yHipR1u4aJOswe+7w8SAJRbQy
UNjmThhfM8e90g/TX8QPYd4yUD79xM3VZqub8wU3K1M2bDcVqOeY+J1lyWYHL3uy
hBAvpKaMvStfRaDoJ5hUzk14Gaoq+gafstkcxH79cFjKWA6fhSNa+g==
=kx9v
-----END PGP SIGNATURE-----



More information about the PLUG mailing list