Closed
Bug 783185
Opened 12 years ago
Closed 11 years ago
CRL update timer doesn't work well
Categories
(Core :: Security, defect)
Core
Security
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: m_kato, Assigned: m_kato)
References
Details
Attachments
(1 file, 1 obsolete file)
5.52 KB,
patch
|
Details | Diff | Splinter Review |
http://mxr.mozilla.org/mozilla-central/source/security/manager/ssl/src/nsCRLManager.cpp?mark=226-236#226
226 if(NS_SUCCEEDED(ComputeNextAutoUpdateTime(crlData, timingTypePref, dayCnt, &updateTime))){
227 updateTimeStr.AssignWithConversion(updateTime);
228 pref->SetCharPref(updateTimePrefStr.get(),updateTimeStr.get());
229 //Now, check if this update time is already in the past. This would
230 //imply we have downloaded the same crl, or there is something wrong
231 //with the next update date. We will not reschedule this crl in this
232 //session anymore - or else, we land into a loop. It would anyway be
233 //imported once the browser is restarted.
234 if(LL_CMP(updateTime, > , PR_Now())){
235 toBeRescheduled = true;
236 }
updateTime is PRUnichar*, so this compare is invalid
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → m_kato
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #652379 -
Flags: review?(bsmith)
Assignee | ||
Comment 2•12 years ago
|
||
bsmith, could you review this? or you don't have time to do it?
Assignee | ||
Comment 3•12 years ago
|
||
Kai, could you review this since bsmith is no repsonse?
Current code uses "int64_t(PRUnichar*) > int64_t(PR_Now)". This condition is invalid.
Attachment #652379 -
Attachment is obsolete: true
Attachment #652379 -
Flags: review?(bsmith)
Attachment #680962 -
Flags: review?(kaie)
Comment 4•11 years ago
|
||
CRL manager was removed.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INCOMPLETE
Updated•11 years ago
|
Attachment #680962 -
Flags: review?(kaie)
You need to log in
before you can comment on or make changes to this bug.
Description
•