List Info

Thread: Re: bugfix: try to read at most 248 bytes




Re: bugfix: try to read at most 248 bytes
user name
2007-05-13 06:40:38
On Sunday 13 May 2007 11:31:46 webmasteropensc-project.org wrote:
> bugfix: try to read at most 248 bytes

doesn't match the code

>  	/* Make sure max send/receive size is 4 byte aligned.
*/
>  	card->max_send_size &= ~3;
> -	card->max_recv_size &= ~3;
> +	if (card->max_recv_size >= 256)
> +		card->max_recv_size = 248;
> +	else
> +		card->max_recv_size &= ~3;

that would leave 252 unchanged.

intentional?

Andreas
_______________________________________________
opensc-devel mailing list
opensc-devellists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc
-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )