| $input_19004 >= ( 8 * bytes_after(((char*)&$heap_68394)[32]) - 63 ) / 64 | 368 | | | | | | vpvmlogprintf(fmt, ap) | Problem | | $input_19004 >= ( 8 * bytes_after(((char*)&$heap_68394)[32]) - 63 ) / 64 |
| | | 369 | | | | | | char *fmt; | | | 370 | | | | | | va_list ap; | | | 371 | | | | | | { | | | 372 | | | | | | char vtmp[1024]; | | | 373 | | | | | | char *truncated; | | $input_19020 >= ( 8 * bytes_after(((char*)&$heap_68418)[32]) - 63 ) / 64 | 374 | | | | | | int cnt = 0; | Problem | | $input_19020 >= ( 8 * bytes_after(((char*)&$heap_68418)[32]) - 63 ) / 64 |
| | | 375 | | | | | | int cc; | | | 376 | | | | | | | | | 377 | | | | | | #ifdef TIMESTAMPLOG | | | 378 | | | | | | time_t now; | | | 379 | | | | | | struct tm *tmp; | | | 380 | | | | | | | | $input_19036 >= ( 8 * bytes_after(((char*)&$heap_68442)[32]) - 63 ) / 64 | 381 | | | | | | time(&now); | Problem | | $input_19036 >= ( 8 * bytes_after(((char*)&$heap_68442)[32]) - 63 ) / 64 |
| | $input_19068 >= ( 8 * bytes_after(((char*)&$heap_68490)[32]) - 63 ) / 64 | 382 | | | | | | tmp = localtime(&now); | Problem | | $input_19068 >= ( 8 * bytes_after(((char*)&$heap_68490)[32]) - 63 ) / 64 |
| | | 383 | | | | | | #endif | | | 384 | | | | | | | | | 385 | | | | | | | | | 386 | | | | | | | | | 387 | | | | | | | | | 388 | | | | | | | | | 389 | | | | | | | | $input_19132 >= ( 8 * bytes_after(((char*)&$heap_68586)[32]) - 63 ) / 64 | 390 | | | | | | cc = vsnprintf(vtmp, sizeof(vtmp), fmt, ap); | Problem | | $input_19132 >= ( 8 * bytes_after(((char*)&$heap_68586)[32]) - 63 ) / 64 |
| | $input_19244 >= ( 8 * bytes_after(((char*)&$heap_68754)[32]) - 63 ) / 64 | 391 | | | | | | truncated = ( cc >= 0 && cc < sizeof(vtmp) ) | Problem | | $input_19244 >= ( 8 * bytes_after(((char*)&$heap_68754)[32]) - 63 ) / 64 |
| | $input_19276 >= ( 8 * bytes_after(((char*)&$heap_68802)[32]) - 63 ) / 64 | 392 | | | | | | ? "" : "[...]\n"; | Problem | | $input_19276 >= ( 8 * bytes_after(((char*)&$heap_68802)[32]) - 63 ) / 64 |
| | | 393 | | | | | | | | $input_19308 >= ( 8 * bytes_after(((char*)&$heap_68850)[32]) - 63 ) / 64 | 394 | | | | | | if (log_how & 1) { | Problem | | $input_19308 >= ( 8 * bytes_after(((char*)&$heap_68850)[32]) - 63 ) / 64 |
| | | 395 | | | | | | if (atnewline) { | | | 396 | | | | | | if (pvmmytid) | | | 397 | | | | | | fprintf(stderr, "[t%x] ", pvmmytid); | | | 398 | | | | | | else | | | 399 | | | | | | fprintf(stderr, "[pvmd pid%d] ", pvmmyupid); | | | 400 | | | | | | | | | 401 | | | | | | #ifdef TIMESTAMPLOG | | | 402 | | | | | | fprintf(stderr, "%02d/%02d %02d:%02d:%02d ", | | | 403 | | | | | | tmp->tm_mon + 1, | | | 404 | | | | | | tmp->tm_mday, | | | | | | | | | ... | | | 406 | | | | | | tmp->tm_min, | | | 407 | | | | | | tmp->tm_sec); | | | 408 | | | | | | #endif | | | 409 | | | | | | } | | | 410 | | | | | | | | | 411 | | | | | | cc = fprintf(stderr, "%s%s", vtmp, truncated); | | | 412 | | | | | | cnt = ( cc >= 0 ) ? cnt + cc : cc; | | | 413 | | | | | | fflush(stderr); | | | 414 | | | | | | } | | | 415 | | | | | | | | $input_19324 >= ( 8 * bytes_after(((char*)&$heap_68874)[32]) - 63 ) / 64 | 416 | | | | | | if (log_how & 2) { | Problem | | $input_19324 >= ( 8 * bytes_after(((char*)&$heap_68874)[32]) - 63 ) / 64 |
| | | 417 | | | | | | if (log_alrdy < pvmdlogmax) { | | | 418 | | | | | | if (atnewline) { | | | 419 | | | | | | if (pvmmytid) | | | 420 | | | | | | fprintf(log_ff, "[t%x] ", pvmmytid); | | | 421 | | | | | | else | | | 422 | | | | | | fprintf(log_ff, "[pvmd pid%d] ", pvmmyupid); | | | 423 | | | | | | | | | 424 | | | | | | #ifdef TIMESTAMPLOG | | | 425 | | | | | | fprintf(log_ff, "%02d/%02d %02d:%02d:%02d ", | | | 426 | | | | | | tmp->tm_mon + 1, | | | | | | | | | ... | | | 434 | | | | | | | | | 435 | | | | | | cc = fprintf(log_ff, "%s%s", vtmp, truncated); | | | 436 | | | | | | cnt = ( cnt >= 0 ) ? ( ( cc >= 0 ) ? cnt + cc : cc ) : cnt; | | | 437 | | | | | | fflush(log_ff); | | | 438 | | | | | | | | | 439 | | | | | | if ((log_alrdy += cnt) >= pvmdlogmax) | | | 440 | | | | | | (void)write(log_fd, toomuch, strlen(toomuch)); | | | 441 | | | | | | } | | | 442 | | | | | | } | | | 443 | | | | | | | | $input_19340 >= ( 8 * bytes_after(((char*)&$heap_68898)[32]) - 63 ) / 64 | 444 | | | | | | atnewline = (fmt[strlen(fmt) - 1] == '\n') ? 1 : 0; | Problem | | $input_19340 >= ( 8 * bytes_after(((char*)&$heap_68898)[32]) - 63 ) / 64 |
| | | 445 | | | | | | | | | 446 | | | | | | | | | 447 | | | | | | | | | 448 | | | | | | | | | 449 | | | | | | | | | 450 | | | | | | | | | 451 | | | | | | | | $input_19436 >= ( 8 * bytes_after(((char*)&$heap_69042)[32]) - 63 ) / 64 | 452 | | | | | | return(cnt); | Problem | | $input_19436 >= ( 8 * bytes_after(((char*)&$heap_69042)[32]) - 63 ) / 64 |
| | $input_19468 >= ( 8 * bytes_after(((char*)&$heap_69090)[32]) - 63 ) / 64 | 453 | | | | | | } | Problem | | $input_19468 >= ( 8 * bytes_after(((char*)&$heap_69090)[32]) - 63 ) / 64 |
|
|