mount segfaults with missing EOL in fstab

Corinna Vinschen corinna-cygwin@cygwin.com
Fri Aug 13 19:11:00 GMT 2010


On Aug 13 20:32, Vincent Rivière wrote:
> Hello.
> 
> I have just noticed that the mount utility segfaults when the last
> line of /etc/fstab is incorrectly terminated with a missing LF, even
> if it is a comment line.
> 
> $ mount -a
> Segmentation fault (core dumped)

Thanks for the hint.  Due to a typo, mount accidentally dereferenced a
pointer which could be NULL.  Fixed in CVS.


Thanks again,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list