On Mon, May 13, 2019 at 11:58:09AM +0200, Greg KH wrote: > You have to unwind the loop and free and uninitialize all of the other > things you just created as well. Hi Greg, I don't think we need to unwind the loop. The loop condition MIN_NR_CONSOLES is defined as 1 in include/uapi/linux/vt.h. In this situation, should we free other memory except vc_cons[currcons].d, vc and vc->vc_screenbuf? Thanks Gen
- Re: [PATCH] vt: Fix a missing-check bug in drivers/tty/vt/vt.c f... Greg KH
- Re: [PATCH] vt: Fix a missing-check bug in drivers/tty/vt/v... Greg KH
- Re: [PATCH] vt: Fix a missing-check bug in drivers/tty/... Gen Zhang
- Re: [PATCH] vt: Fix a missing-check bug in drivers/... Greg KH
- Re: [PATCH] vt: Fix a missing-check bug in driv... Gen Zhang
- Re: [PATCH] vt: Fix a missing-check bug in... Greg KH
- Re: [PATCH] vt: Fix a missing-check bu... Gen Zhang
- Re: [PATCH] vt: Fix a missing-chec... Greg KH
- Re: [PATCH] vt: Fix a missing-chec... Gen Zhang