On Monday 2018-05-07 05:20, David C. Rankin wrote:
I have filed https://bugzilla.opensuse.org/show_bug.cgi?id=1092054 against
The valgrind report is completely correct.
If it is reporting 1028 bytes allocated for 1-integer, it is most certainly NOT correct.
You can drop the act - you are doing more than "just" allocating one puny integer buffer. *Besides* the printf which was pointed out to you in bugzilla, given just the right laboratory conditions (ulimit -v somethingsomething), I can make your 5-liner program exhibit undefined behavior, at which point a program is allowed to do anything — that, by definition, can include allocations. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org