mirror of https://github.com/torvalds/linux.git
dsp_hwec_enable() allocates dup pointer by kstrdup(arg), but then it updates dup variable by strsep(&dup, ","). As a result when it calls kfree(dup), the dup variable may be a modified pointer that no longer points to the original allocated memory, causing a memory leak. The issue is the same pattern as fixed in commit |
||
|---|---|---|
| .. | ||
| capi | ||
| hardware | ||
| mISDN | ||
| Kconfig | ||
| Makefile | ||