rsync icon indicating copy to clipboard operation
rsync copied to clipboard

Uninitilalized pointer passed into memcpy

Open partimScurra opened this issue 1 year ago • 3 comments

If len <= len1, buf1 remains unallocated and gets passed into memcpy: https://github.com/RsyncProject/rsync/blob/321dd78f8cbdb5d01fa8628eb872e967f19e0883/checksum.c#L369-L376

partimScurra avatar Nov 25 '24 12:11 partimScurra

Re the issue title, I would describe it as an uninitialized pointer. (It might or might not equate to NULL.)

alaniwi avatar Dec 19 '24 10:12 alaniwi

I would like to work on this issue.

lighterCoder avatar Jan 13 '25 02:01 lighterCoder

Re the issue title, I would describe it as an uninitialized pointer. (It might or might not equate to NULL.)

True, static variable(s) were initialized while prelimenary stage.

lighterCoder avatar Feb 06 '25 23:02 lighterCoder