Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1629153
| From | Jakub Kicinski <kubakici@wp.pl> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] mt7601u: check return value of alloc_skb |
| Date | 2017-04-24 06:00 +0200 |
| Message-ID | <tzDkm-1vZ-5@gated-at.bofh.it> (permalink) |
| References | <tzjOG-5m6-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 23 Apr 2017 15:00:23 +0800, Pan Bian wrote: > Function alloc_skb() will return a NULL pointer if there is no enough > memory. However, in function mt7601u_mcu_msg_alloc(), its return value > is not validated before it is used. This patch fixes it. > > Signed-off-by: Pan Bian <bianpan2016@163.com> Acked-by: Jakub Kicinski <kubakici@wp.pl> Thanks!
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/1] mt7601u: check return value of alloc_skb Pan Bian <bianpan2016@163.com> - 2017-04-23 09:10 +0200 Re: [PATCH 1/1] mt7601u: check return value of alloc_skb Jakub Kicinski <kubakici@wp.pl> - 2017-04-24 06:00 +0200
csiph-web