IRC logs for #automotive for Wednesday, 2017-03-29

*** mdurnev has joined #automotive02:06
mranostaydl9pf: any reason faac is failing to build now? did gcc get update?02:20
*** mkelly has joined #automotive02:22
*** thaytan has quit IRC02:26
*** mkelly has quit IRC02:30
*** D9 has quit IRC02:33
*** D9 has joined #automotive02:38
khemmranostay: what is the error ?02:39
mranostaymain.c:718:9: error: format not a string literal and no format arguments [-Werror=format-security]02:39
mranostay         fprintf(stderr, faac_copyright_string);02:39
mranostayrecipe hasn't changed so seems like another pedantic gcc Werror02:40
mranostaykhem: also for porter if that matters02:44
*** thaytan has joined #automotive03:06
khemmranostay: ok so you must be enabling security flags03:17
khemwhich is not default in OE-Core03:17
*** rdale_ct has quit IRC03:40
mranostaykhem: well i'm not.. something is :)03:53
khemits a distro thing so I believe the distro you are using is based of poky-lsb04:00
khembut meta-openembedded is not vetted with security flags on. Thats where faac recipe comes from04:00
mranostaykhem: i get it.. just wonder who though adding security flags to distro was important atm :)04:02
mranostayand how it even built in the CI04:02
khemmranostay: here is fix04:35
khemhttps://github.com/kraj/meta-openembedded/commit/4f105f6904132b5058ed538aed73f0b0ec3106b004:36
khemhave fun04:36
khemyes its a good thing04:36
khemI have a plan to propose this as default for oe-core04:37
mranostaykhem: thought of that.. but there are quite a few other statements that will fail in faac and libuiomux.. so far only packages blowing up04:38
mranostaywhat is the security risk btw? someone accidently has a format statement in the string, and it reads random memory?04:39
khemmranostay: if its not there then it will assume that format is part of variable string its passed as parameter which could not be trusted since it may inject things like %n04:45
khemwhich is a security hole04:45
mranostayyeah figured04:45
mranostaykicking off a build with a horrible CFLAGS override to be sure those are the only two packages affected04:46
mranostayat least on porter04:46
mranostaykhem: fputs() would be better since it would drop the "%s"04:47
khemif we know string needs no formatting then yes04:49
mranostaykhem: what is __STRING?04:51
khemits a macro that comes from sys/cdefs.h04:52
khemin short BSD'ism04:53
khemthat glibc inhrited04:53
khembut musl refuses04:53
mranostayah many "standards"04:54
khemmusl is exposing lot of non-portable code in world04:54
khemmusl sticks to POSIX for most of stuff04:55
mranostayah right fputs only works for stdout anyway04:57
khemAGL should think of using musl instead of glibc04:58
khemand also clang :)04:59
mranostayi have no comment on that :)04:59
khemI have kodi running on musl it takes 25M-85M less RAM at runtime on pi305:01
khemwhen playing 1080p05:01
mranostayah would be helpful with the limited GPU memory05:01
mranostayor rather shared memory05:02
khemyes05:07
mranostayhmm line 52 is causing a issue in libuiomux https://www.irccloud.com/pastebin/GsUiGBCR/05:11
mranostaylikely a casting issue?05:11
mranostayah should be a puts05:11
khemits trying to print a char* with out formatting string05:15
mranostayah yeah easy fix05:18
khemmay be you need printf("%p",name[i]);05:20
khemor printf("%s",name[i]);05:21
khemactually %s is right replacement05:24
mranostayyeah05:34
*** fredw has joined #automotive06:55
*** claneys has joined #automotive06:56
*** fredw has quit IRC07:04
*** fredw has joined #automotive07:09
*** rajm has joined #automotive07:12
*** jobol has joined #automotive07:18
*** ctbruce has joined #automotive07:26
*** fredw has quit IRC07:27
*** chris_g has joined #automotive07:37
*** leon has joined #automotive07:46
*** leon is now known as Guest7693007:46
*** Guest76930 is now known as leon-anavi07:46
leon-anavihi07:46
*** toscalix has joined #automotive07:55
*** fredw has joined #automotive07:56
*** reinar has quit IRC07:58
*** rdale has joined #automotive08:11
*** kbroulik has joined #automotive08:11
*** ZenEntropy has joined #automotive08:21
*** fredw has quit IRC08:25
*** fredw has joined #automotive08:27
dl9pfmranostay: gcc security flags got acticated08:40
dl9pfmranostay: you can add an override it in this way: https://git.automotivelinux.org/AGL/meta-agl/tree/meta-agl-distro/conf/distro/poky-agl.conf#n7808:44
*** praneeth has quit IRC08:55
*** praneeth has joined #automotive08:55
CTtpollardhey leon-anavi09:03
leon-anavihi CTtpollard how are you?09:03
*** claneys has quit IRC09:06
*** claneys has joined #automotive09:06
*** claneys has quit IRC09:09
*** claneys has joined #automotive09:09
CTtpollardleon-anavi: I'm well, yourself? :)09:38
leon-anavitired, too much work recently but otherwise ok :)09:42
*** fredw has quit IRC09:54
CTtpollardleon-anavi: I know that feeling10:33
*** ZenEntropy has quit IRC10:37
*** lordPoseidon has quit IRC10:38
*** ZenEntropy has joined #automotive10:49
leon-anavi:)10:50
*** fredw has joined #automotive11:00
*** lordPoseidon has joined #automotive11:19
*** ZenEntropy has quit IRC11:26
dl9pfjbocklage: an idea from the top of your head for https://jira.automotivelinux.org/browse/SPEC-508 ??11:27
jbocklagedl9pf: i'll check11:29
dl9pfjbocklage: tnx11:45
*** caiortp has joined #automotive11:58
*** ZenEntropy has joined #automotive12:00
*** wesam has joined #automotive12:28
*** toscalix has quit IRC12:42
*** Cerza has joined #automotive13:22
*** Cerza has quit IRC13:26
*** Cerza has joined #automotive13:27
*** Cerza has quit IRC13:29
*** Cerza has joined #automotive13:29
*** toscalix has joined #automotive13:38
*** ZenEntropy has quit IRC13:40
*** gunnarx has quit IRC13:49
*** damyan^ has quit IRC13:57
*** mdurnev has quit IRC13:59
*** damyan^ has joined #automotive14:01
*** dunderroffe_ has joined #automotive14:05
*** dunderroffe has quit IRC14:07
*** Cerza has quit IRC14:22
*** gunnarx has joined #automotive14:24
*** mpaolino has joined #automotive14:47
*** jlrmagnus has joined #automotive14:57
*** mkelly has joined #automotive14:58
*** claneys has quit IRC15:02
*** claneys has joined #automotive15:03
*** voyager_ has quit IRC15:13
*** kyle612_ has left #automotive15:18
*** mkelly has quit IRC15:24
*** jlrmagnus has quit IRC15:30
*** wesam has quit IRC15:31
*** toscalix has quit IRC15:44
*** wesam has joined #automotive15:45
*** fredw has quit IRC15:46
*** rajm has quit IRC15:48
*** wesam has quit IRC15:51
*** Cerza has joined #automotive16:01
*** Cerza has quit IRC16:03
*** Cerza has joined #automotive16:03
*** Cerza has quit IRC16:04
*** Cerza has joined #automotive16:04
*** jlrmagnus has joined #automotive16:10
*** chris_g has quit IRC16:11
*** Nikhil_D has quit IRC16:17
*** Nikhil_D has joined #automotive16:17
*** ctbruce has quit IRC16:18
*** mpaolino has quit IRC16:21
*** toscalix has joined #automotive16:23
*** wesam has joined #automotive16:34
*** leon-anavi has quit IRC16:36
*** dunderroffe_ has quit IRC16:38
*** zeenix has joined #automotive16:40
*** gunnarx has quit IRC16:44
*** kbroulik has quit IRC16:48
*** jobol has quit IRC16:55
*** toscalix has quit IRC17:12
*** jlrmagnus has quit IRC17:23
*** jlrmagnus has joined #automotive17:35
*** claneys has quit IRC17:50
*** jlrmagnus has quit IRC18:04
*** voyager_ has joined #automotive18:08
*** jlrmagnus has joined #automotive18:20
*** voyager_ has quit IRC18:30
*** jlrmagnus_ has joined #automotive18:39
*** jlrmagnus has quit IRC18:41
*** voyager_ has joined #automotive18:47
*** wesam has quit IRC20:01
*** voyager_ has quit IRC20:55
*** voyager_ has joined #automotive20:55
*** jlrmagnus_ has quit IRC21:07
*** jlrmagnus has joined #automotive21:15
*** Cerza has quit IRC21:45
*** gunnarx has joined #automotive21:55
*** gunnarx has joined #automotive21:55
*** caiortp has quit IRC22:04
*** jlrmagnus has quit IRC22:16
*** jlrmagnus has joined #automotive22:31
*** joone has quit IRC22:49
*** jlrmagnus has quit IRC22:58
*** joone has joined #automotive23:02
*** Cerza has joined #automotive23:07
*** jlrmagnus has joined #automotive23:15
*** gunnarx has quit IRC23:17
*** murphy has quit IRC23:35
*** rayjenkins has joined #automotive23:42
*** rayjenkins has quit IRC23:44

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!