[CRIU] Re: [PATCH] tty: Fix copying of termios character map
Pavel Emelyanov
xemul at parallels.com
Tue Oct 2 12:26:28 EDT 2012
On 10/02/2012 08:07 PM, Cyrill Gorcunov wrote:
> On Tue, Oct 02, 2012 at 08:05:41PM +0400, Cyrill Gorcunov wrote:
>> On Tue, Oct 02, 2012 at 08:04:39PM +0400, Cyrill Gorcunov wrote:
>>> The system termios structure and our PB
>>> equivalent defined quite different, while
>>> first defined as plain array we use dynamically
>>> allocated memory. Thus the use of min() macro
>>> is incorrect here and always produce the size of
>>> pointer.
>>>
>>> Fix it using the size of array from the system
>>> provided structure. The BUILD_BUG_ON will prevent
>>> from accidental changes.
>>>
>>> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
>>
>> Wait a second please, I've done typo there. Update is coming.
>
> Here is updated.
>
Applied
More information about the CRIU
mailing list