BUG in fixup_pack_header_footer(...) / pack-write.c checksum error never raised

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



In fixup_pack_header_footer(...) file pack-write.c
We have to change the size_t value returned by
xread() in ssize_t, otherwise the next check on negative
values has no sense.

size_t is an unsigned type!

I can't write now a patch because I'm on a customer site
and I can't install GIT...

I'm just looking at the souce code using gitweb during a coffebreak.

Someone can fix it?..

Pao
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux