[Pkg-games-ubuntu] [Bug 479173] [NEW] aajm.cpp:245: (error) Buffer access out-of-bounds

dcb dcb314 at hotmail.com
Mon Nov 9 13:50:49 UTC 2009


Public bug reported:


For the source code file aajm.cpp, line 245 is the source code 

  memset(newstyle,0,JML_MAX_SITELEN);

but

char newstyle[2];

and

#define JML_MAX_SITELEN  56

so the memset looks wrong. Suggest code rework.

** Affects: jugglemaster (Ubuntu)
     Importance: Undecided
         Status: New

-- 
aajm.cpp:245: (error) Buffer access out-of-bounds
https://bugs.launchpad.net/bugs/479173
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to jugglemaster in ubuntu.

Status in “jugglemaster” package in Ubuntu: New

Bug description:

For the source code file aajm.cpp, line 245 is the source code 

  memset(newstyle,0,JML_MAX_SITELEN);

but

char newstyle[2];

and

#define JML_MAX_SITELEN  56

so the memset looks wrong. Suggest code rework.



More information about the Pkg-games-ubuntu mailing list