Opened 13 years ago

Closed 13 years ago

#178 closed defect (fixed)

libroar uses illegal pointer-aliasing.

Reported by: ph3-der-loewe Owned by:
Priority: medium Milestone: RoarAudio major release 0.4
Component: libroar and friends Version: 0.4
Keywords: Cc:
Architecture: Compiler:
Difficulty: easy Kernel:
Operating System: Parent Tickets: #175
Patch attached: no Protocol: RoarAudio
Sound driver: Topic: Bug Fix

Description

From muroar.c:289

*(uint32_t*)(&(buf[1])) = htonl(getpid());

Where buf is declared as a:
unsigned char buf[MUROAR_IOBUF];

This is also fund in libroar, roar_identify().

Subtickets

Change History (1)

comment:1 Changed 13 years ago by ph3-der-loewe

  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from current to 0.4rc1
Note: See TracTickets for help on using tickets.