public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-pda/gtkpod/files: gtkpod-2.1.2-bffr-overflow.patch
@ 2012-11-02 11:37 Justin Lecher (jlec)
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Lecher (jlec) @ 2012-11-02 11:37 UTC (permalink / raw
  To: gentoo-commits

jlec        12/11/02 11:37:11

  Added:                gtkpod-2.1.2-bffr-overflow.patch
  Log:
  app-pda/gtkpod: Fid for buffer overflow, #434220
  
  (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

Revision  Changes    Path
1.1                  app-pda/gtkpod/files/gtkpod-2.1.2-bffr-overflow.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/gtkpod/files/gtkpod-2.1.2-bffr-overflow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-pda/gtkpod/files/gtkpod-2.1.2-bffr-overflow.patch?rev=1.1&content-type=text/plain

Index: gtkpod-2.1.2-bffr-overflow.patch
===================================================================
 libs/atomic-parsley/AtomicParsley.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libs/atomic-parsley/AtomicParsley.cpp b/libs/atomic-parsley/AtomicParsley.cpp
index 8603885..9190df3 100644
--- a/libs/atomic-parsley/AtomicParsley.cpp
+++ b/libs/atomic-parsley/AtomicParsley.cpp
@@ -1887,7 +1887,7 @@ char* APar_ExtractDataAtom(int this_atom_number) {
 
             }
             else { //purl & egid would end up here too, but Apple switched it to a text string (0x00), so gets taken care above explicitly
-                char* result = (char*) malloc(sizeof(char) * 6);
+                char* result = (char*) malloc(sizeof(char) * 6 + 1);
                 sprintf(result, "hex 0x");
 
                 for (int hexx = 1; hexx <= (int) (thisAtom->AtomicLength - atom_header_size); ++hexx) {





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in app-pda/gtkpod/files: gtkpod-2.1.2-bffr-overflow.patch
@ 2013-04-10 15:33 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2013-04-10 15:33 UTC (permalink / raw
  To: gentoo-commits

ssuominen    13/04/10 15:33:19

  Removed:              gtkpod-2.1.2-bffr-overflow.patch
  Log:
  old
  
  (Portage version: 2.2.0_alpha171/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-04-10 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-02 11:37 [gentoo-commits] gentoo-x86 commit in app-pda/gtkpod/files: gtkpod-2.1.2-bffr-overflow.patch Justin Lecher (jlec)
  -- strict thread matches above, loose matches on Subject: below --
2013-04-10 15:33 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox