... | ... |
@@ -1,3 +1,7 @@ |
1 |
+Fri Oct 15 17:48:00 CEST 2010 (acab) |
|
2 |
+------------------------------------ |
|
3 |
+ * libclamav/pe_icons.c: make sure all ref points are initted (bb#2291) |
|
4 |
+ |
|
1 | 5 |
Fri Oct 15 16:13:27 CEST 2010 (tk) |
2 | 6 |
---------------------------------- |
3 | 7 |
* freshclam/manager.c: don't mix IPv4 and IPv6 addresses while randomizing (bb#2319) |
... | ... |
@@ -771,7 +771,7 @@ static void hsv(unsigned int c, unsigned int *r, unsigned int *g, unsigned int * |
771 | 771 |
static int getmetrics(unsigned int side, unsigned int *imagedata, struct icomtr *res, const char *tempd) { |
772 | 772 |
unsigned int x, y, xk, yk, i, j, *tmp; |
773 | 773 |
unsigned int ksize = side / 4, bwonly = 0; |
774 |
- unsigned int edge_avg[6], edge_x[6], edge_y[6], noedge_avg[6], noedge_x[6], noedge_y[6]; |
|
774 |
+ unsigned int edge_avg[6], edge_x[6]={0,0,0,0,0,0}, edge_y[6]={0,0,0,0,0,0}, noedge_avg[6], noedge_x[6]={0,0,0,0,0,0}, noedge_y[6]={0,0,0,0,0,0}; |
|
775 | 775 |
double *sobel; |
776 | 776 |
|
777 | 777 |
if(!(tmp = cli_malloc(side*side*4*2))) |