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 137183 - Crash when opening tar-file when using 24 hour time format
Crash when opening tar-file when using 24 hour time format
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
2.5.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2004-03-14 19:39 UTC by Reinhard Schuerer
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.5/2.6


Attachments
tar -tvzf output with 24 hour time format (520 bytes, text/plain)
2004-03-15 18:45 UTC, Reinhard Schuerer
Details

Description Reinhard Schuerer 2004-03-14 19:39:13 UTC
On line 214 of fr-command-tar.c

date_idx = get_index_from_pattern (line, "%n%n%n%n-%n%n-%n%n %n%n:%n%n:%n%n");

The specified pattern doesn't match when 24 hour time format is used on the
system.
Because the return value isn't checked the program crashes later on line
236 because fields[0] is a null pointer.

Regards,
     Reinhard
Comment 1 Paolo Bacchilega 2004-03-15 08:16:20 UTC
can you attach the output of "tar -ztvf foo.tgz" when in 24h format?
Comment 2 Reinhard Schuerer 2004-03-15 18:45:40 UTC
Created attachment 25673 [details]
tar -tvzf output with 24 hour time format
Comment 3 Paolo Bacchilega 2004-04-02 12:59:15 UTC
fixed now.