Re: [PATCH] firmware_class: make sure fw requests contain a name

2014-09-18 Thread Sasha Levin
On 09/18/2014 02:25 PM, Kees Cook wrote: > An empty firmware request name will trigger warnings when building > device names. Make sure this is caught earlier and rejected. > > The warning was visible via the test_firmware.ko module interface: > > echo -ne "\x00" >

[PATCH] firmware_class: make sure fw requests contain a name

2014-09-18 Thread Kees Cook
An empty firmware request name will trigger warnings when building device names. Make sure this is caught earlier and rejected. The warning was visible via the test_firmware.ko module interface: echo -ne "\x00" > /sys/devices/virtual/misc/test_firmware/trigger_request Reported-by: Sasha Levin

[PATCH] firmware_class: make sure fw requests contain a name

2014-09-18 Thread Kees Cook
An empty firmware request name will trigger warnings when building device names. Make sure this is caught earlier and rejected. The warning was visible via the test_firmware.ko module interface: echo -ne \x00 /sys/devices/virtual/misc/test_firmware/trigger_request Reported-by: Sasha Levin

Re: [PATCH] firmware_class: make sure fw requests contain a name

2014-09-18 Thread Sasha Levin
On 09/18/2014 02:25 PM, Kees Cook wrote: An empty firmware request name will trigger warnings when building device names. Make sure this is caught earlier and rejected. The warning was visible via the test_firmware.ko module interface: echo -ne \x00