Unidata / LDM

The Unidata Local Data Manager (LDM) system includes network client and server programs designed for event-driven data distribution, and is the fundamental component of the Unidata Internet Data Distribution (IDD) system.
http://www.unidata.ucar.edu/software/ldm
Other
43 stars 27 forks source link

Remove precision specifications from rtstats(1)'s sprintf(3) call that creates product-identifier #47

Closed semmerson closed 8 years ago

semmerson commented 8 years ago

Line 147 in rtstats/binstats.c is

        sprintf(stats_data, "%14.14s %14.14s %32.32s %7.10s %32.32s %12.0lf %12.0lf %.8g %10.2f %4.0f@%4.4s %20.20s\n",

The "%32.32s" is truncating the "origin_v_upstream" field. It should be 64 characters. This might cause problems for subsequent processing.

LDM versions 6.10.1 and earlier don't have the precision specifications.

LDM version 6.11.7 doesn't give a reason for the change in the CHANGE_LOG file.

semmerson commented 8 years ago

Fixed after version 6.12.14.