Opened 12 years ago

Closed 12 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


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().


Change History (1)

comment:1 Changed 12 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.