Project

General

Profile

Actions

Bug #742

closed

strcpy buffer overflow in osdworker.c

Added by nano over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
05/28/2010
Due date:
% Done:

0%

Estimated time:

Description

IMPORTED FROM BERLIOS: ======================

The buffer overflow causes my vdr to restart.

This patch should do the trick:

--- ffnetdev-9999/osdworker.c.old 2010-05-28 17:16:25.548584765 0200
++ ffnetdev-9999/osdworker.c 2010-05-28 17:16:43.734584467 +0200
@ -763,7 +763,7 @
}

CARD8 name7;
- strcpy((char*)&name, "VDR-OSD");
+ strncpy((char*)&name, "VDR-OSD", 7);
if (!m_OSDClient->SafeWrite(&name, 7)) {
state = NO_CLIENT;

Actions #1

Updated by nano over 12 years ago

  • Status changed from New to Closed
  • Assignee set to nano

fixed in 0.1.2

Actions

Also available in: Atom PDF