aajm.cpp:245: (error) Buffer access out-of-bounds

Bug #479173 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jugglemaster (Ubuntu)
Fix Released
Undecided
Unassigned

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.

Related branches

Revision history for this message
Paul Wise (Debian) (pabs) wrote :

Fixed in the Debian games team SVN.

Changed in jugglemaster (Ubuntu):
status: New → Fix Committed
Revision history for this message
Paul Wise (Debian) (pabs) wrote :

Fixed in Debian, will be fixed in Ubuntu on next sync.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package jugglemaster - 0.4-4

---------------
jugglemaster (0.4-4) unstable; urgency=low

  * Team upload.
  * Drop the Qt version since Qt3 is being removed (Closes: #604353)
  * Switch to dh from debhelper 7 and dpkg-source v3
  * Add DEP-3 headers to the patches
  * Bump Standards-Version, no changes needed
  * Add a patch to fix locale issues when loading files (Closes: #528564)
  * Add patch to fix hand movements during tricks (Closes: #537503)
  * Fix and enable the ffmpeg support (Closes: #597831)
  * (C) is not recognised, use Copyright instead
  * Fix printing text in images and videos
  * Fix memory zeroing error (LP: #479173)
  * Make the watch file more flexible
 -- Ubuntu Archive Auto-Sync <email address hidden> Sat, 30 Apr 2011 12:58:13 +0000

Changed in jugglemaster (Ubuntu):
status: Fix Committed → 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.