rsync-2.6.9pre2: undeclared variable in source code

Nelson H. F. Beebe beebe at math.utah.edu
Mon Oct 16 14:11:40 GMT 2006


A build of rsync-2.6.9pre2 on DEC Alpha OSF/1 4.0 failed because of
an undeclared variable at lib/inet_ntop.c:84:

	memcpy(dst, tmp, len + 1);

len is not declared; the code looks like the third argument should
instead be the value

	 strlen(tmp) + 1

I made that change, restarted the build and validation, and got
this report:

----- daemon-gzip-download rsyncd.log ends
FAIL    daemon-gzip-download
----- daemon-gzip-upload rsyncd.log ends
FAIL    daemon-gzip-upload
PASS    daemon
...
------------------------------------------------------------
----- overall results:
      25 passed
      2 failed
      4 skipped
------------------------------------------------------------
overall result is 2

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe at math.utah.edu  -
- 155 S 1400 E RM 233                       beebe at acm.org  beebe at computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


More information about the rsync mailing list