summaryrefslogtreecommitdiffstats
path: root/lib/libmd/rmd160c.c
diff options
context:
space:
mode:
authorcperciva <cperciva@FreeBSD.org>2007-02-05 16:30:40 +0000
committercperciva <cperciva@FreeBSD.org>2007-02-05 16:30:40 +0000
commit41a7b3c7b0b73a68f39b8053db70eae7a6a23cb1 (patch)
treed7a37d18f40d9c8c9743d97f9c05252b930537e9 /lib/libmd/rmd160c.c
parent94de0f0fd023089743dfde41f9c02d55e6136af2 (diff)
downloadFreeBSD-src-41a7b3c7b0b73a68f39b8053db70eae7a6a23cb1.zip
FreeBSD-src-41a7b3c7b0b73a68f39b8053db70eae7a6a23cb1.tar.gz
If (a == NULL), don't dereference (a) to record an error message. [1]
Fallout from changing the skip API to use off_t instead of size_t: Print the skip length using %jd and cast to (intmax_t) instead of %d / (int), and if ARCHIVE_API_VERSION >= 2, allow the client skipper to be called for requests longer than SSIZE_MAX. [2] Approved by: kientzle Pointy hats to: kientzle [1], cperciva [2] MFC after: 3 days
Diffstat (limited to 'lib/libmd/rmd160c.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud