SVNews r324438

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-09 16:19:26 - r324438 by kib (Konstantin Belousov)

Complete list of files affected by revision r324438:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

  History   Contents   Diff   MODIFY   /head/sys/i386/i386/sys_machdep.c  

Commit message:

Change i386_get_ldt() to return 'EOF' when the requested range of
descriptors does not fit into currently allocated LDT, or trim the
return if the range fits partially. Before, the function returned

Fix two bugs in r324366: use capped num counter for malloc size, and
do not leak allocated buffer on EINVAL (by handling EINVAL case as
normal, see above).

Reviewed by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 7 ms, 1 file printed. Current time is 2018-03-24 12:00:09. All times are in UTC/GMT.