Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 629482 Details for
Bug 867908
CVE-2012-4524 xlockmore: Screensaver crash (screen lock bypass) when 'dclock' mode used
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Local copy of the proposed preliminary patch from [1]
CVE-2012-4524-xlockmore-proposal.patch (text/plain), 1.46 KB, created by
Jan Lieskovsky
on 2012-10-18 14:39:58 UTC
(
hide
)
Description:
Local copy of the proposed preliminary patch from [1]
Filename:
MIME Type:
Creator:
Jan Lieskovsky
Created:
2012-10-18 14:39:58 UTC
Size:
1.46 KB
patch
obsolete
>$NetBSD: patch-modes_dclock.c,v 1.2 2012/10/15 20:47:57 is Exp $ > >--- modes/dclock.c.orig 2012-01-23 13:19:21.000000000 +0000 >+++ modes/dclock.c >@@ -376,11 +376,11 @@ static dclockstruct *dclocks = (dclockst > extern char *message; > > static unsigned long >-timeAtLastNewYear(long timeNow) >+timeAtLastNewYear(time_t timeNow) > { > struct tm *t; > >- t = localtime((const time_t *) &timeNow); >+ t = localtime(&timeNow); > return (unsigned long)(t->tm_year); > } > >@@ -420,7 +420,7 @@ convert(double x, char *string) > } > > static void >-dayhrminsec(long timeCount, int tzoffset, char *string) >+dayhrminsec(time_t timeCount, int tzoffset, char *string) > { > int days, hours, minutes, secs; > int bufsize, i; >@@ -675,7 +675,7 @@ drawDclock(ModeInfo * mi) > "%a %b %d %Y", localtime(&(dp->timeold))); > } > } else { >- long timeNow, timeLocal; >+ time_t timeNow, timeLocal; > timeNow = seconds(); > timeLocal = timeNow + dp->tzoffset; > >@@ -950,7 +950,7 @@ init_dclock(ModeInfo * mi) > { > Display *display = MI_DISPLAY(mi); > dclockstruct *dp; >- long timeNow, timeLocal; >+ time_t timeNow, timeLocal; > int i, j; > > if (dclocks == NULL) { >@@ -1252,7 +1252,7 @@ defined(MODE_dclock_mayan) > dayhrminsec(MAYAN_TIME_START - timeLocal, dp->tzoffset, dp->strnew[1]); > dp->strpta[1] = dp->strnew[1]; > } else { >- struct tm *t = localtime((const time_t *) &timeLocal); >+ struct tm *t = localtime(&timeLocal); > > if (dp->time24) > (void) strftime(dp->strnew[0], STRSIZE, "%H:%M:%S", t);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 867908
: 629482