Дана 24/04/06 06:04PM, Stuart Henderson написа:
> The fact that these all started hitting this with the same printf string
> (including tmux, which is in base) makes me wonder if it's coming from a
> library, the most likely being libcurses which was updated between 7.4
> and 7.5 (which all of those use).
>
> Try to ascertain what's going on when that message is logged. ktrace
> might give some clues.
Of course, the package containing the code passing NULL to *printf should be
identified first, and the bug report should be sent to that package. It is
entirely possible that it is libcurses or another library. In the case of
dunst, it was dunst.
Passing NULL to *printf is Undefined Behavior in C, and there is a
StackOverflow answer detailing the reasons at [1].
[1]: https://stackoverflow.com/a/11589500
No comments:
Post a Comment