dosfslabel assert failure: *** buffer overflow detected ***: dosfslabel terminated

Bug #1183406 reported by Martin Pitt
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dosfstools (Debian)
Fix Released
Unknown
dosfstools (Ubuntu)
Fix Released
Medium
Martin Pitt

Bug Description

This happens in saucy when trying to use dosfslabel to write a label (detected by udisks2 autopkgtest).

ProblemType: Crash
DistroRelease: Ubuntu 13.10
Package: dosfstools 3.0.16-2
ProcVersionSignature: Ubuntu 3.9.0-2.7-generic 3.9.3
Uname: Linux 3.9.0-2-generic x86_64
ApportVersion: 2.10.2-0ubuntu1
Architecture: amd64
AssertionMessage: *** buffer overflow detected ***: dosfslabel terminated
Date: Thu May 23 10:08:55 2013
ExecutablePath: /sbin/dosfslabel
InstallationDate: Installed on 2013-02-08 (104 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130207.1)
MarkForUpload: True
ProcCmdline: dosfslabel
ProcEnviron:
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 LANGUAGE=de_DE
 SHELL=/bin/bash
Signal: 6
SourcePackage: dosfstools
StacktraceTop:
 __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f36f406c530 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
 __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7f36f406c4c7 "buffer overflow detected") at fortify_fail.c:37
 __GI___chk_fail () at chk_fail.c:28
 _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at vsprintf_chk.c:33
 __GI__IO_default_xsputn (f=0x7fffc9c43ca0, data=<optimized out>, n=16) at genops.c:481
Title: dosfslabel assert failure: *** buffer overflow detected ***: dosfslabel terminated
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sbuild

Revision history for this message
Martin Pitt (pitti) wrote :
information type: Private → Public
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f36f406c530 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
 __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7f36f406c4c7 "buffer overflow detected") at fortify_fail.c:37
 __GI___chk_fail () at chk_fail.c:28
 _IO_str_chk_overflow (fp=<optimized out>, c=<optimized out>) at vsprintf_chk.c:33
 __GI__IO_default_xsputn (f=0x7fffc9c43ca0, data=<optimized out>, n=16) at genops.c:481

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in dosfstools (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Changed in dosfstools (Debian):
status: Unknown → New
Martin Pitt (pitti)
Changed in dosfstools (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dosfstools - 3.0.16-2ubuntu1

---------------
dosfstools (3.0.16-2ubuntu1) saucy; urgency=low

  * Add write_label_memory_corruption.patch: Fix memory corruption with
    writing labels. (LP: #1183406, Closes: #702392)
 -- Martin Pitt <email address hidden> Fri, 24 May 2013 07:01:25 +0200

Changed in dosfstools (Ubuntu):
status: Fix Committed → Fix Released
Changed in dosfstools (Debian):
status: New → Confirmed
Changed in dosfstools (Debian):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.