Checking chrpath in Coverity
Petter Reinholdtsen
pere at hungry.com
Tue Jan 14 09:20:02 UTC 2014
[Tollef Fog Heen]
> line 219 does a printf of the rpath which is strtab+rpathoff, and it
> complains about strtab not being null terminated.
Ah, of course.
> I suspect you just want to null terminate the strtab and all should
> be good.
I made the memory block one byte longer and made sure it had a null at
the end. :)
Running a new check now, and expect all the problems to be solved
now. :)
--
Happy hacking
Petter Reinholdtsen
More information about the chrpath-devel
mailing list