Skip to main content

how to fix brp and rpmlint warnings – today: I: Statement might be overflowing a buffer in strncat.

Malcolm Lewis sent me a link to one of his failing packages, with the idea to bring the next post for this series (which has had a too long break already). So Malcolm: Thank you for the heads up and here we go with another hopefully helpful solution to one of brp error (brp actually […]

how to fix brp and rpmlint warnings – today:
I: Program causes undefined operation
(likely same variable used twice and post/pre incremented in the same expression)

It seems the planned series sort of finds an audience, which in turn of course is motivational to keep on writing it. Today, we’ll have a look at this Informational message in BRP checks: I: Program causes undefined operation (likely same variable used twice and post/pre incremented in the same expression). e.g. x = x++; […]

how to fix brp and rpmlint warnings – today:
Expression compares a char* pointer with a string literal

After having seen this kind of question several times, I think it could be interesting to start creating a small ‘series of rpmlint errors and their typical fixes”. Interested in it? So welcome to part #1 (this issue). The “series” is not really fledged out, but I will try to write post for various errors […]