Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153434 - media-video/nvclock-0.8b2 crashes if exist loaded kernel module with name >= 20 characters
Summary: media-video/nvclock-0.8b2 crashes if exist loaded kernel module with name >= ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-30 05:17 UTC by Raimonds Cicans
Modified: 2009-03-13 23:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix for crashing bug (backlinux.patch,1016 bytes, patch)
2006-10-30 05:20 UTC, Raimonds Cicans
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Raimonds Cicans 2006-10-30 05:17:12 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.0.7) Gecko/20060919 Firefox/1.5.0.7
Build Identifier: 

if exist loaded kernel module with name larger than 19 characters than when try
to call nvclock to set some video card parameters - aplication crashes.
(exception: module with long name appear in file /proc/modules after 'nvidia' or
'NVdriver' module)

Reproducible: Always

Steps to Reproduce:
1. nvclock -f -n 100 -m 200
2.
3.

Actual Results:  
nvclock: stack smashing attack in function check_driver()
Aborted


Expected Results:  
Requested memory clock:         200.000 MHz
Requested core clock:           100.000 MHz

Adjusted low-level clocks on a nVidia GeForceFX Go5200 32M/64M
Memory clock:   199.800 MHz
GPU clock:      99.900 MHz
Comment 1 Raimonds Cicans 2006-10-30 05:20:34 UTC
Created attachment 100787 [details, diff]
Fix for crashing bug

Attached patch fixes this bug.

Patch is sent upstream.
Comment 2 Raimonds Cicans 2006-11-03 03:50:02 UTC
(In reply to comment #1)
> Patch is sent upstream.

I received answer from upstream.
Patch is included in CVS.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-10 11:25:33 UTC
Re-assign wrt Bug 171232
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 10:40:58 UTC
0.8_beta3 should fix this then, need a bump.
Comment 5 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2009-03-13 23:40:22 UTC
beta4 is in the tree. please reopen if the problem isn't fixed in the new version (as indicated in comment #4).

thanks