clone 379598 -1
reassign -1 libntfs-gnomevfs
thanks

Le lundi 24 juillet 2006 à 21:05 +0200, Gabor Gombas a écrit :
> Upon further investigation, I think I found the bug:
> 
> - With today's upgrade of libntfs-gnomevfs,
>   /etc/gnome-vfs-2.0/modules/libntfs.conf became a directory (that's
>   interesting in itself...)
> 
> - In gnome-vfs-configuration.c, the function parse_file() now gets into
>   an endless loop when called with file_name being
>   "/etc/gnome-vfs-2.0/modules/libntfs.conf":
>   
>   - read_line() always returns 0 with line_buffer being the empty
>     string, since it cannot read the directory as a file
>   - parse_line() returns TRUE when it is given an empty string
>   - there are no other ways to break the "while (1) { ... }" loop...
> 
> The bug seems to be that parse_file() expects read_line() to return -1
> on EOF, but read_line() never returns -1; on EOF, it returns 0 instead.
> 
> Maybe an explicit test before the g_fopen() that file_name is not a
> directory/device node/etc. would be useful.

Thanks for the investigation. I think that both packages should be
fixed.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           [EMAIL PROTECTED]
`. `'                        [EMAIL PROTECTED]
  `-  Debian GNU/Linux -- The power of freedom

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to