Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1408494
| From | Wolfram Sang <wsa@the-dreams.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API" |
| Date | 2016-05-28 18:10 +0200 |
| Message-ID | <rDOYh-2As-1@gated-at.bofh.it> (permalink) |
| References | <rDIpQ-72k-3@gated-at.bofh.it> <rDIzv-75v-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
> These kinds of use after frees don't always cause a runtime problem. I > found it using static analysis, but I bet you could detect it if you > enabled kasan. The other option is to enable PAGE_POISONING? Thanks, PAGE_POISONING did trigger the issue. So, I now picked up your patch instead of the revert because I could verify the problem and the proper solution. Thanks again. What I still wonder: Which analysis reported the problem to you? I always run sparse, smatch, cppcheck, and coccicheck on the patches when applying and no-one reported the issue. Wolfram
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API" Wolfram Sang <wsa@the-dreams.de> - 2016-05-28 11:10 +0200
Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API" Dan Carpenter <dan.carpenter@oracle.com> - 2016-05-28 11:20 +0200
Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API" Wolfram Sang <wsa@the-dreams.de> - 2016-05-28 18:10 +0200
Re: [PATCH] Revert "i2c: dev: switch from register_chrdev to cdev API" Dan Carpenter <dan.carpenter@oracle.com> - 2016-05-30 09:10 +0200
csiph-web