Skip to content
Commit e8988933 authored by Michael Buesch's avatar Michael Buesch Committed by Linus Torvalds
Browse files

dac960: fix undefined behavior on empty string



Fix undefined behavior due to a buffer underrun if an empty string is
written to the proc file.

Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent c02e3f36
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment