]> sourceware.org Git - lvm2.git/commit
Use dm_strncpy instead of plain strncpy while setting the socket path.
authorPeter Rajnoha <prajnoha@redhat.com>
Fri, 27 Apr 2012 09:52:33 +0000 (09:52 +0000)
committerPeter Rajnoha <prajnoha@redhat.com>
Fri, 27 Apr 2012 09:52:33 +0000 (09:52 +0000)
commitbf29fa49d34fb72356ad53274b01bcc8481726dc
tree11b3bb34a4f3c152b211c50bd78a8f7207accebd
parente5b9338ada7152672000016861ef06f4af2160aa
Use dm_strncpy instead of plain strncpy while setting the socket path.

Also check the return value as it meaningless to work with truncated strings.
libdaemon/client/daemon-client.c
libdaemon/server/daemon-server.c
This page took 0.030431 seconds and 5 git commands to generate.