History log of /haiku/src/kits/mail/MailAttachment.cpp
Revision Date Author Comments
# ade6fe2e 10-Nov-2013 Matt Madia <mattmadia@gmail.com>

Adjust array length.

As per Axel: The "+1" is not needed; B_FILE_NAME_LENGTH already includes the
terminating null byte.


# c801b51c 17-Jul-2013 Murai Takashi <tmurai01@gmail.com>

Fix size argument is greater than the length of the destination buffer

Signed-off-by: Matt Madia <mattmadia@gmail.com>


# 55a4a880 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

Mail: some 64 bit fixes


# 6ec5758f 18-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Cleanup - this is very ugly code, and the API is also not really good; we
really should get rid of the current mail kit some day.
* Fixed another memory leak I stumpled upon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38245 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 02b5d2e4 18-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Stefano was right, there was another leak - I've fixed them all now in a
nicer way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38244 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64bd6d96 18-Aug-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix CID 890. dest was leaked on error. To me it seems that src is leaked too,
and there's even a comment that says we are leaking memory.
Coverity doesn't complain, though, so I wonder if I'm wrong. Please someone
have a second look.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38241 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eddec292 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cee04e80 08-Feb-2010 Artur Wyszynski <aljen-mlists@o2.pl>

Fixed various errors/warnings reported by cppcheck:
* memory leaks
* resource leaks
* added const's to getters
* removed a few reundant conditions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 206f31b9 01-Nov-2007 Stephan Aßmus <superstippi@gmx.de>

* fix build on test environment


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22785 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e927a5f 30-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

malloc.h ain't no standard header. Use stdlib.h instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22776 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e34360a 01-Jan-2006 Alexander G.M. Smith <agmsmith@nowhere.fake>

Fixed it up so it now compiles for R5 and Haiku. Don't know about
BONE or DANO, and I'm pretty sure it won't work in Zeta!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15784 a95241bf-73f2-0310-859d-f6bbb57e9c96


# deb238df 01-Jan-2006 Alexander G.M. Smith <agmsmith@nowhere.fake>

Tried to get MDR to compile under Zeta RC3 but to no avail, with lots of
brick wall collisions. Along the way I found a few defines that no longer
exist in Haiku - changed B_BEOS_VERSION_DANO to use Haiku versions (anyone
rebuilding under Dano might want to undo it). By the way, the BeOS version
number define system might be worth using, since it's a numerical compare
rather than #if defined(V1) || defined (V2) || defined (V3) and so on.

What sort of errors? Besides needing libzeta.so for some things, the
networking compatibility compile doesn't work (libbind and all that).
Some examples among many:

In file included from /boot/home/Haiku/src/kits/mail/numailkit.cpp:14:
/boot/develop/headers/be/support/Autolock.h:3: using directive `BAutolock' introduced ambiguous type `BAutolock'

In file included from /boot/home/Haiku/src/kits/network/compat/libnet/netdebug.c:6:
/boot/home/Haiku/headers/private/net/netdebug.h:32: syntax error before `void'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15775 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6686b038 29-Oct-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Fixed forward with attachments


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9657 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7215ac8 20-Sep-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ade6fe2e939c483c68a51b22f786a363a0a5ddf1 10-Nov-2013 Matt Madia <mattmadia@gmail.com>

Adjust array length.

As per Axel: The "+1" is not needed; B_FILE_NAME_LENGTH already includes the
terminating null byte.


# c801b51ce8ca55a72e9d7ea61b047dbfd2f0aec2 17-Jul-2013 Murai Takashi <tmurai01@gmail.com>

Fix size argument is greater than the length of the destination buffer

Signed-off-by: Matt Madia <mattmadia@gmail.com>


# 55a4a88045ee553e36e92406200079ea13b858d6 04-May-2013 Jérôme Duval <jerome.duval@gmail.com>

Mail: some 64 bit fixes


# 6ec5758fe7cb0d4adb038543c6a05fd972375c74 18-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Cleanup - this is very ugly code, and the API is also not really good; we
really should get rid of the current mail kit some day.
* Fixed another memory leak I stumpled upon.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38245 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 02b5d2e4e3b31992153f98a454b98c48945d51e8 18-Aug-2010 Axel Dörfler <axeld@pinc-software.de>

* Stefano was right, there was another leak - I've fixed them all now in a
nicer way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38244 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64bd6d96512abc3b406c127f76888a9ba4729559 18-Aug-2010 Stefano Ceccherini <stefano.ceccherini@gmail.com>

Fix CID 890. dest was leaked on error. To me it seems that src is leaked too,
and there's even a comment that says we are leaking memory.
Coverity doesn't complain, though, so I wonder if I'm wrong. Please someone
have a second look.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38241 a95241bf-73f2-0310-859d-f6bbb57e9c96


# eddec292d5dd8251a00851880e16e6a5c07c1e3f 21-Jul-2010 Oliver Tappe <zooey@hirschkaefer.de>

* applied patch by kaliber that fixes more than 100 warnings - thanks a lot!
Closes #6349

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37670 a95241bf-73f2-0310-859d-f6bbb57e9c96


# cee04e8074ec61fd8c6dac3539c5b821c3618888 08-Feb-2010 Artur Wyszynski <aljen-mlists@o2.pl>

Fixed various errors/warnings reported by cppcheck:
* memory leaks
* resource leaks
* added const's to getters
* removed a few reundant conditions


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 206f31b981c55a6a66757cfa5d4ba9574ca39784 01-Nov-2007 Stephan Aßmus <superstippi@gmx.de>

* fix build on test environment


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22785 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6e927a5fc080cb934e7584454f472cacf4c3e361 30-Oct-2007 Ingo Weinhold <ingo_weinhold@gmx.de>

malloc.h ain't no standard header. Use stdlib.h instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22776 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 8e34360a9cc5572de9caac0d01ce324d30417fa4 01-Jan-2006 Alexander G.M. Smith <agmsmith@nowhere.fake>

Fixed it up so it now compiles for R5 and Haiku. Don't know about
BONE or DANO, and I'm pretty sure it won't work in Zeta!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15784 a95241bf-73f2-0310-859d-f6bbb57e9c96


# deb238df7dff7248066c3db058a318a1da8a95d7 01-Jan-2006 Alexander G.M. Smith <agmsmith@nowhere.fake>

Tried to get MDR to compile under Zeta RC3 but to no avail, with lots of
brick wall collisions. Along the way I found a few defines that no longer
exist in Haiku - changed B_BEOS_VERSION_DANO to use Haiku versions (anyone
rebuilding under Dano might want to undo it). By the way, the BeOS version
number define system might be worth using, since it's a numerical compare
rather than #if defined(V1) || defined (V2) || defined (V3) and so on.

What sort of errors? Besides needing libzeta.so for some things, the
networking compatibility compile doesn't work (libbind and all that).
Some examples among many:

In file included from /boot/home/Haiku/src/kits/mail/numailkit.cpp:14:
/boot/develop/headers/be/support/Autolock.h:3: using directive `BAutolock' introduced ambiguous type `BAutolock'

In file included from /boot/home/Haiku/src/kits/network/compat/libnet/netdebug.c:6:
/boot/home/Haiku/headers/private/net/netdebug.h:32: syntax error before `void'


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15775 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 6686b0388310f7d87c430956c923108990b03426 29-Oct-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Fixed forward with attachments


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9657 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f7215ac853ab5fda385dffd3e3dc0e1f74662ce9 20-Sep-2004 Nathan Whitehorn <nwhitehorn@nowhere.fake>

Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96