On Fri, Jul 25, 2014 at 07:03:20PM +0400, Andrey Borzenkov wrote:
В Fri, 25 Jul 2014 15:38:31 +0200
Karel Zak k...@redhat.com пишет:
There is a small number of the places in sources where we don't check
asprintf() return code and assume that after error the function
returns NULL pointer
There is a small number of the places in sources where we don't check
asprintf() return code and assume that after error the function
returns NULL pointer via the first argument. That's wrong, after
error the content of pointer is undefined.
---
src/core/unit-printf.c
В Fri, 25 Jul 2014 15:38:31 +0200
Karel Zak k...@redhat.com пишет:
There is a small number of the places in sources where we don't check
asprintf() return code and assume that after error the function
returns NULL pointer via the first argument. That's wrong, after
error the content of