Checking chrpath in Coverity
Tollef Fog Heen
tfheen at err.no
Tue Jan 14 07:16:44 UTC 2014
]] Petter Reinholdtsen
> It found 7 defects. I've fixed 5, decided one (case fall through) is
> intended and been unable to understand the nature of the latter defect
> report (missing null termination on something that isn't really a
> string).
line 219 does a printf of the rpath which is strtab+rpathoff, and it
complains about strtab not being null terminated.
I suspect you just want to null terminate the strtab and all should be
good.
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the chrpath-devel
mailing list