fulup-bzh / AlsaJsonGateway

HTTP REST/JSON Gateway to ALSA mixer service for HTML5 UI
53 stars 5 forks source link

call to __builtin__strncat_chk might overflow destination butter #7

Open eudoxos opened 8 years ago

eudoxos commented 8 years ago

I am getting this with fresh checkout (ubuntu 16.04, gcc 5.4.0):

In function ‘strncat’,
    inlined from ‘alsaFakeResponse.isra.0’ at alsa-ajg.c:60:12:
/usr/include/x86_64-linux-gnu/bits/string3.h:156:10: error: call to __builtin___strncat_chk might overflow destination buffer [-Werror]
   return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest));

The workaround is to call ./configure CFLAGS=-Wno-error .

fulup-bzh commented 8 years ago

Sorry for the delay, I need to checkout how to compile without no-warning flag. Thank you reporting.

fulup-bzh commented 7 years ago

Unfortunately I do not have time to work on AlsaJsonGateway. I'm currently working on the Audio Advance (AGL) Architecture for Automotive Grade Linux and have no bandwidth for anything else.

On the long run my goal it to replace AlsaJsonGateway with AGL audio stack, but I doubt that I will start this before the end of 2017.

Sorry.

wstephan commented 6 years ago

Hi i want to buy the 18i8 and looked around in the net, found your video and great work. But when i want to compile the Gateway, i got this error. Do you know another good mixer for the 18i8 or do you work allready on the AGL audio stack?

Thank's again for the work you've done allready. Best regards Steve

trebmuh commented 6 years ago

@wstephan : you can have a look at https://github.com/x42/scarlett-mixer

wstephan commented 6 years ago

:-) Thanks!