segfault RH EL5 /dev/urandom read-only

Matt Johnston matt at ucc.asn.au
Tue Apr 2 18:57:05 WST 2013


That's a bit unfortunate, I've fixed it in https://secure.ucc.asn.au/hg/dropbear/rev/73b6e5d8801b

Cheers,
Matt

Scott Case <scase at vccs.edu> wrote:

>I just built the 2013.56 release and am receiving segfaults on startup.
>The offending line is the fwrite() in random.c in write_urandom().
>
>Our RHEL 5 servers appear to have /dev/urandom as read-only.  I am
>guessing that is likely the root cause.
>
> 
>
>Commenting out the internals of write_urandom() stopped the segfault.  
>
> 
>
>Maybe a build flag to avoid writing to /dev/urandom would be
>appropriate
>for some platforms?
>
> 
>
>Thanks,
>
>Scott
>
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20130402/cdddb051/attachment.htm 


More information about the Dropbear mailing list