After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 353915 - possible infinite loop in parse_file
possible infinite loop in parse_file
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Other
2.14.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2006-09-01 22:13 UTC by Josselin Mouette
Modified: 2018-08-17 13:50 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Proposed fix for 2.14.2 (410 bytes, patch)
2006-09-01 22:14 UTC, Josselin Mouette
none Details | Review

Description Josselin Mouette 2006-09-01 22:13:17 UTC
When parse_file (in gnome-vfs-configuration.c) is called on a directory, it enters an infinite loop.

This can be triggered by a directory named foo.conf, like it happened for http://bugs.debian.org/379598
Comment 1 Josselin Mouette 2006-09-01 22:14:12 UTC
Created attachment 72049 [details] [review]
Proposed fix for 2.14.2

The easy fix is to check that the file is a regular file before reading it.
Comment 2 André Klapper 2018-08-17 13:50:18 UTC
gnome-vfs got deprecated in 2008.

gnome-vfs is not under active development anymore and had its last code changes
in 2011. Its codebase has been archived:
https://gitlab.gnome.org/Archive/gnome-vfs/commits/master

gio (in glib) and gvfs are its successors. See https://developer.gnome.org/gio/stable/ch33.html and https://people.gnome.org/~gicmo/gio-migration-guide/ for porting info.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Feel free to open a task in GNOME Gitlab if the issue described in this task still applies to a recent + supported version of glib/gio/gvfs. Thanks!