Branch: Tag:

2010-06-30

2010-06-30 09:19:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The data argument to low_send_result() may be UNDEFINED. Fixes InfoKOM 686112.

Rev: server/protocols/http.pike:1.623

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2009, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.622 2010/06/29 13:29:53 grubba Exp $"; + constant cvs_version = "$Id: http.pike,v 1.623 2010/06/30 09:19:10 grubba Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
2216:    return;    }    +  // Note: data may be UNDEFINED. +  if (!data) data = ""; +     if (String.width (data) != 8) {    int from, to;    foreach (data; from; int chr)