[alsa-devel] Guarantee a 0-terminated string for all usages of strncpy()
Wischer, Timo (ADITG/ESB)
twischer at de.adit-jv.com
Fri Dec 1 10:58:27 CET 2017
Hi all,
see attached a patch for ensuring a 0-terminated string when using strncpy().
I observed this issue in the ext control implementation.
Best regards
Timo Wischer
Advanced Driver Information Technology GmbH
Engineering Software Base (ADITG/ESB)
Robert-Bosch-Str. 200
31139 Hildesheim
Germany
Tel. +49 5121 49 6938
Fax +49 5121 49 6999
twischer at de.adit-jv.com
ADIT is a joint venture company of Robert Bosch GmbH/Robert Bosch Car Multimedia GmbH and DENSO Corporation
Sitz: Hildesheim, Registergericht: Amtsgericht Hildesheim HRB 3438
Geschäftsführung: Wilhelm Grabow, Ken Yaguchi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: append-0-after-strncpy.patch
Type: text/x-patch
Size: 4537 bytes
Desc: append-0-after-strncpy.patch
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20171201/80846248/attachment.bin>
More information about the Alsa-devel
mailing list