Re: NULL ptr dereferences found with Calysto static checker

This is a discussion on Re: NULL ptr dereferences found with Calysto static checker within the OpenSSH Development forums, part of the Networking and Network Related category; Hi, On Wed, Jun 20, 2007 at 11:47:59PM -0700, Domagoj Babic wrote: > Please see > > localtime/...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-21-2007
Gert Doering
 
Posts: n/a
Default Re: NULL ptr dereferences found with Calysto static checker

Hi,

On Wed, Jun 20, 2007 at 11:47:59PM -0700, Domagoj Babic wrote:
> Please see
>
> localtime/gmtime in
> http://www.gnu.org/software/libc/man...o/libc.html.gz


Indeed, on GNU systems, this can happen:

"The return value is the null pointer if time cannot be represented as a
broken-down time; typically this is because the year cannot fit into an int."

- so, OpenSSH will break in the year 4294967297. Damn.

gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert@net.informatik.tu-muenchen.de
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:34 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0