[haiku-bugs] [Haiku] #9881: [Mail kit] MailAttachment.cpp: Size argument is greater than the length of the destination buffer

  • From: "mt" <trac@xxxxxxxxxxxx>
  • Date: Wed, 17 Jul 2013 11:22:03 -0000

#9881: [Mail kit] MailAttachment.cpp: Size argument is greater than the length 
of
the destination buffer
---------------------------+------------------------------
 Reporter:  mt             |        Owner:  czeidler
     Type:  bug            |       Status:  new
 Priority:  normal         |    Milestone:  R1
Component:  Kits/Mail Kit  |      Version:  R1/Development
 Keywords:                 |   Blocked By:
 Blocking:                 |  Has a Patch:  0
 Platform:  All            |
---------------------------+------------------------------
 In BAttributedMailAttachment::SaveToDisk(), array "name" size (255) is
 small for strncpy(text, fileName, B_FILE_NAME_LENGTH) in
 BSimpleMailAttachment::FileName(). Please see attached report.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9881>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: