View Issue Details

IDProjectCategoryView StatusLast Update
0000697SpeedFanInstallationpublic2009-03-11 18:45
Reporterfuran Assigned Toalfredo  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
OSWindows Vista 
Product Version4.31 
Summary0000697: IsAdmin check in sfextra needs more tweaking..
DescriptionHad some trouble getting SpeedFan to install on my vaio, tracked it down to the IsAdmin() check. The code calls GetTokenInformation only once and it fails with an invalid buffer size. There is a previous report of this where the buffer was 1024 bytes, the fix seems to have changed the size to 4096 bytes. The best way to use this method is to call once with a NULL buffer and 0 bytes buffer length, then allocate a buffer the size of the value returned in the return length dword you passed, then make the call again passing that allocated buffer. You can't really make a guess at the number of groups a token can be a member of, so it's easiest just to use this method.

I was able to get the product to install by working around the issue in the debugger, but a fix for this would be appreciated.
Steps To ReproduceInstall Vista, run speedfan installer using a domain account. Possibly easier to just create several generic security groups in compmgmt.msc and then create an account that is a member of all of them.
TagsNo tags attached.
Motherboard Model
Video Card Model

Relationships

duplicate of 0001105 resolvedalfredo Speedfan will not install 

Activities

alfredo

2009-03-10 14:46

manager   ~0004641

The latest beta uses a new method to check ADMIN rights.

Issue History

Date Modified Username Field Change
2006-11-22 05:01 furan New Issue
2009-03-10 14:46 alfredo Note Added: 0004641
2009-03-10 14:46 alfredo Status assigned => acknowledged
2009-03-11 18:45 alfredo Relationship added duplicate of 0001105
2009-03-11 18:45 alfredo Status acknowledged => closed
2009-03-11 18:45 alfredo Resolution open => duplicate