Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2011 19:21:51 +0300 (EEST)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/158689: [acpi] value of sysctl hw.acpi.thermal.polling_rate needs validation
Message-ID:  <201107061621.p66GLplE077922@odyssey.starpoint.kiev.ua>
Resent-Message-ID: <201107061640.p66Ge73D074104@freefall.freebsd.org>

index | next in thread | raw e-mail


>Number:         158689
>Category:       kern
>Synopsis:       [acpi] value of sysctl hw.acpi.thermal.polling_rate needs validation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 16:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
>Description:
Currently value for sysctl hw.acpi.thermal.polling_rate is not validated in any way.
So a user can potentially assign a zero or a negative value to it.
This could lead to undesired effects when hz * acpi_tz_polling_rate is used as a parameter
to msleep().

>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107061621.p66GLplE077922>