Package: nvclock
Version: 0.7-2
Followup-For: Bug #276451

Here's a patch that cleared up this segfault issue for me
on my amd64 system.  It seems that reg_address ended up 
being negative (now that reg_addr is a longer int?).

Anyway, seems to work fine.  I'm not able to test it in
my ia32 box, but would be suprised if it didn't work there
as well.


--- nvclock-0.7.orig/src/backend/nvclock.h
+++ nvclock-0.7/src/backend/nvclock.h
@@ -78,7 +78,7 @@
    char *card_name; /* Name of the card */
    short supported;
    short device_id;
-    int reg_address;
+    unsigned int reg_address;
     char *bus_id;
     short base_freq;
     gpu_type gpu; /* Tells what type of gpu is used: mobile, nforce .. */



-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.10
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages nvclock depends on:
ii  libc6          2.3.2.ds1-20.0.0.1.pure64 GNU C Library: Shared libraries an

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to