Re: fold -b1 segmentation fault
On Thu, Oct 21, 2010 at 05:57:24PM +0100, Jason McIntyre wrote: in case anyone's interested, and as reported in a recent freebsd pr: $ fold -b1 Segmentation fault (core dumped) no fix is provided. jmc Number: 151592 Category: misc Synopsis: 'fold' segfaults on argument processing Confidential: no Severity: non-critical Priority: low Responsible:freebsd-bugs State: open Quarter: Keywords: Date-Required: Class: sw-bug Submitter-Id: current-users Arrival-Date: Wed Oct 20 03:50:08 UTC 2010 Closed-Date: Last-Modified: Originator: Marcus Reid Release:8.1-STABLE Organization: Environment: FreeBSD austin.sea.netifice.com 8.1-STABLE FreeBSD 8.1-STABLE #0: Mon Sep 20 23:53:47 PDT 2010 r...@austin.sea.netifice.com:/usr/obj/usr/src/sys/FARK amd64 Description: The 'fold' utility reads past the end of a buffer if arguments are incorrectly specified. If you pass an argument to '-b' that happens to be in the character set 0123456789, line 101 reads past the end of argv[optind] and causes a segmentation fault. How-To-Repeat: Simply run 'fold -b1' Fix: I don't really see what the author is intending to do in that case statement where it breaks. Release-Note: Audit-Trail: Unformatted: Fix appears to be to let getopt handle it, since allowing 0-9 as an argument is not documented: Index: fold.c === RCS file: /cvs/src/usr.bin/fold/fold.c,v retrieving revision 1.12 diff -u -p -r1.12 fold.c --- fold.c 27 Oct 2009 23:59:38 - 1.12 +++ fold.c 21 Oct 2010 17:26:24 - @@ -57,7 +57,7 @@ main(int argc, char *argv[]) const char *errstr; width = -1; - while ((ch = getopt(argc, argv, 0123456789bsw:)) != -1) + while ((ch = getopt(argc, argv, bsw:)) != -1) switch (ch) { case 'b': count_bytes = 1; @@ -70,21 +70,6 @@ main(int argc, char *argv[]) if (errstr != NULL) errx(1, illegal width value, %s: %s, errstr, optarg); - break; - case '0': case '1': case '2': case '3': case '4': - case '5': case '6': case '7': case '8': case '9': - if (width == -1) { - p = argv[optind - 1]; - if (p[0] == '-' p[1] == ch !p[2]) - w = ++p; - else - w = argv[optind] + 1; - - width = strtonum(w, 1, INT_MAX, errstr); - if (errstr != NULL) - errx(1, illegal width value, %s: %s, - errstr, optarg); - } break; default: (void)fprintf(stderr,
real men don't whine!
OK? Index: man.c === RCS file: /home/cvs/src/usr.bin/man/man.c,v retrieving revision 1.39 diff -u -p -r1.39 man.c --- man.c 19 Mar 2010 21:04:25 - 1.39 +++ man.c 22 Oct 2010 12:04:06 - @@ -550,19 +550,12 @@ next: anyfound = 1; static void build_page(char *fmt, char **pathp) { - static int warned; ENTRY *ep; TAG *intmpp; int fd, n; char *p, *b; char buf[MAXPATHLEN], cmd[MAXPATHLEN], tpath[MAXPATHLEN]; sigset_t osigs; - - /* Let the user know this may take awhile. */ - if (!warned) { - warned = 1; - warnx(Formatting manual page...); - } /* * Historically man chdir'd to the root of the man tree.
Camping y Viajeros
Combo Bidon Magiclick + Vasos Inox $ 185 Pesos 1 Bidon Termico 2 Litros Magiclick 6 Vasos Jarras Inox. 400 ml. Combo Termo Inox 6 Vasos + Regalo Termo Mini $ 190 1 Termo Inox. 1 litro Con Manija 6 Vaso Jarra 400 ml 1 Termo Bebe de Regalo incluye Funda. Combo 1 Termos Camping $ 195 Pesos 1Bidon Termico 2 Litros 1 Termo Inox. con Manija 1 Litro 1 Termo Inox 1/2 litro con Funda 2 Jarras Inox 400 ml Base Ancha con Tapa y pico vertedor Los 5 productos inncluidos en este combo.
E-nhebra. La extension digital de tu negocio - tech
[IMAGE] [IMAGE] [IMAGE] [IMAGE] La extensisn digital de tu negocio. [IMAGE][IMAGE] [IMAGE] Queris aumentar tus ventas? Necesitas mas clientes para hacer crecer tu Empresa? Te brindamos la Solucisn! Diseqamos tu estrategia inicial SIN COSTO, Pieza publicitaria y envis a nuestra base de datos segmentada por regisn, rubro y target que mas se ajuste a tu producto o servicio, en relacisn al resultado de la campaqa, decidms o no, contratar nuestro servicio. No solo contratas un servicio con el diseqo de tu Banner publicitario de alto impacto visual y estadmsticas de envmos y apertura en bandeja de entrada, sino tambiin consultas de potenciales clientes interesados en tu Producto o Servicio. Somos una empresa Argentina lmder en Comercializacisn, Marketing y Publicidad no tradicional, desde hace cinco aqos trabajamos con las principales empresas de servicios generando una importante cantidad de nuevos clientes mes a mes. Podes desarrollar tus campaqas de mercadeo con rapidez mientras sacas provecho de todas las ventajas de una comunicacisn directa e interactiva a una fraccisn de costo. Nuestra plataforma de E-mail Marketing te permite: * Contactar nuevos y potenciales clientes. * Contactar revendedores para sistemas de venta multinivel. * Comunicaciones mensuales con novedades y productos a tus clientes con nuestro sistema de Newsletters. * Invitaciones. * diseqo e implementacisn de tu marca en las redes sociales. * Fidelizacion de tus clientes. * Conseguir lista de suscriptores. Si deseas recibir mas informacisn, envmanos tus datos de contacto y un asesor comercial se pondra en contacto a la brevedad. Encontranos tambiin en [IMAGE] Pablo Correa Marketing y Promocisn e-nhe...@divisioncorporativa.com.ar 011-6851-9702 [IMAGE] [IMAGE]
ATENCION =??Q?informaci=F3n?= importante de Amenitie Solutions
Estimados Clientes y Amigos , les informamos que ya se encuentran en actividad nuevamente las cuentas de mail : amenit...@fibertel.com.ar amenitiesoluti...@fibertel.com.ar fragancias@fibertel.com.ar Desde ya les pedimos disculpas por alguna molestia ocasionada. Como siempre nuestras PAGINAS WEB estan a su disposicion . www.jaboncitos.com.ar www.amenities01.com.ar Un Saludo Cordial.
Re: softraid cleanup
On Oct 20, 2010 20:47, Marco Peereboom wrote: On Thu, Sep 30, 2010 at 03:35:33AM +0200, Tobias Ulmer wrote: I got this after a while: panic: softraid0: sr_crypto_finish_io No serial, so there's no more info. You know where to find me new diff that should fix all them issues. please test, especially raid 1 including rebuild and stuff. No issues for me on amd64 after one day of using the crypto discipline.