Re: howmany macro: integer overflow

2014-06-18 Thread Alexander Hall
On June 14, 2014 1:13:56 PM CEST, Tobias Stoeckmann tob...@stoeckmann.org wrote: Hi, the howmany macro as used in param.h and select.h is prone to an integer overflow. It adds divisor-1 to the base value, which means that it COULD overflow. Most of the times, the howmany macro is used with

Re: howmany macro: integer overflow

2014-06-18 Thread Tobias Stoeckmann
On Wed, Jun 18, 2014 at 08:20:16AM +0200, Alexander Hall wrote: RCS file: /cvs/src/sys/sys/param.h,v Where else could howmany come from? Can you be sure it's safe to use here? There are other places where howmany is defined, I can prepare a diff that will cover all definitions. For now, I

Re: [PATCH] Atheros AR9281 miniPCI-E new product id 2nd try

2014-06-18 Thread Remi Locherer
On Mon, Jun 02, 2014 at 03:25:19PM +0200, Stefan Sperling wrote: On Mon, Jun 02, 2014 at 11:41:52AM +0200, Stefan Sperling wrote: On Sun, Jun 01, 2014 at 09:17:09PM +0200, mijenix wrote: Hope someone can commit the new product id. Connecting to a WLAN network works and also hostap mode.

Re: [PATCH] Atheros AR9281 miniPCI-E new product id 2nd try

2014-06-18 Thread Stefan Sperling
On Wed, Jun 18, 2014 at 09:05:56AM +0200, Remi Locherer wrote: I had my athn card working fine in my APU board with -current amd64. But then after a reboot athn was not there anymore. The dmesg showed that it had the id 0xff1c. After the next reboot it attached again normaly (dmesg below from

Re: [PATCH] Atheros AR9281 miniPCI-E new product id 2nd try

2014-06-18 Thread Mark Kettenis
Date: Wed, 18 Jun 2014 10:20:05 +0200 From: Stefan Sperling s...@openbsd.org On Wed, Jun 18, 2014 at 09:05:56AM +0200, Remi Locherer wrote: I had my athn card working fine in my APU board with -current amd64. But then after a reboot athn was not there anymore. The dmesg showed that it

Re: fix for kmthread hangs

2014-06-18 Thread Mark Patruck
This fixes the dpb hangs i've seen over the last few weeks. Several hours of extensive testing today and still not a single issue. Thanks, -Mark -- Mark Patruck ( mark at wrapped.cx ) GPG key 0xF2865E51 / 187F F6D3 EE04 1DCE 1C74 F644 0D3C F66F F286 5E51 http://www.wrapped.cx

error fixes in x509/by_dir.c

2014-06-18 Thread Ted Unangst
On error, set error code. Check malloc return and cleanup. On error, set error code and unlock. Index: by_dir.c === RCS file: /cvs/src/lib/libssl/src/crypto/x509/by_dir.c,v retrieving revision 1.26 diff -u -p -r1.26 by_dir.c ---

Brainalizer Informatica. Servicio Tecnico de PC a Domicilio

2014-06-18 Thread Servicio Tecnico de PC
Junio 2014 Reparacion de PC a Domicilio, Redes y Servidores. SIN PERDIDA DE DATOS NI CORREOS. En menos de 48 horas, un Técnico en su Empresa. Solicite su presupuesto sin cargo. Reparacion de PC de Escritorio y Notebook en el acto y sin retirarla de su empresa. Limpieza de Virus,

check return in x509 vfy

2014-06-18 Thread Ted Unangst
A tiny patch for a giant function. This kind of looks right, based on some other examples in the function, but it's hard to say for sure since this one function (X509_verify_cert; is that important?) has about a dozen different exit points which free or don't free any number of variables, stacks,

fsck_msdos: long filename out of boundary access

2014-06-18 Thread Tobias Stoeckmann
Hi, while constructing the long file name of a directory entry, it is possible to access the longName array out of bounds. Long file names in FAT are supported by additional long filename directory entries. They are kept in reverse (from top to bottom) with an additional 0x40 flag at the start,

Re: check return in x509 vfy

2014-06-18 Thread Miod Vallat
While you're there, all alloc error paths need to free sktmp and whatever else is done at `end:'. But I am not sure the X509_get_pubkey_parameters() needs to be performed upon error as well, despite the code disagreeing with me. I mean, I would investigate, but my glasses just turned dark on me.