summaryrefslogtreecommitdiff
path: root/UPSTREAM-206-commit-todo
diff options
context:
space:
mode:
authorrofl0r <retnyg@gmx.net>2013-08-13 03:00:57 +0200
committerAnthony G. Basile <blueness@gentoo.org>2013-08-13 08:34:04 -0400
commit9b8ca4f5a942f7c6253777887f43a7ce603d428b (patch)
tree116c2116f4cad9d233432ece5e61d1d36479c7fc /UPSTREAM-206-commit-todo
parentb9e16e82d0ca34f6a211ead57843c59db2619c94 (diff)
src/udev/mkdir.c: remove usage of strndupa()
strndupa() allocates memory using alloca() which is dangerous and non-conformant. Some libcs, like musl, deliberately do not implement it. Instead we allocate a buffer on the stack which is cleaned up on return. Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'UPSTREAM-206-commit-todo')
0 files changed, 0 insertions, 0 deletions