Monday, 2021-01-25

*** tpb has joined #tomu00:00
*** hEl[pm0mey[m] has joined #tomu00:11
*** rj has quit IRC00:14
*** kcnickerson_____ has quit IRC00:16
*** thepatr1ck has quit IRC00:16
*** _florent_ has quit IRC00:17
*** thepatr1ck has joined #tomu00:18
*** kcnickerson_____ has joined #tomu00:18
*** futarisIRCcloud has quit IRC00:19
*** futarisIRCcloud has joined #tomu00:19
*** _florent_ has joined #tomu00:20
*** deltab has quit IRC01:50
*** deltab has joined #tomu02:00
*** mmmattyx has quit IRC02:16
*** ewen has quit IRC05:32
*** ewen has joined #tomu07:01
*** kuldeep_ has quit IRC07:38
*** ewen has quit IRC08:06
*** coderobe7 has joined #tomu12:18
*** gio has quit IRC12:19
*** coderobe has quit IRC12:20
*** coderobe7 is now known as coderobe12:20
*** gio has joined #tomu12:20
*** rqou has quit IRC14:00
*** rqou has joined #tomu14:00
*** rj has joined #tomu15:35
*** thaytan has quit IRC15:42
*** thaytan has joined #tomu15:43
st-gourichon-fHi! I noticed a suspicious line on https://github.com/im-tomu/foboot/blob/master/sw/src/dfu.c#L184 (permalink https://github.com/im-tomu/foboot/blob/882ce04da8b97084ef95f5a967a0e2b7312b19c2/sw/src/dfu.c#L184 ).  When i is an integer variable that is incremented (by 1), this sounds suspect:   if (dfu_buffer[i/4] == RAM_BOOT_SENTINAL) {15:50
st-gourichon-fProbably not a big deal, the result is that code checks 4 times each address.  It might not check the whole intended area, though.15:50
st-gourichon-fDoc says first 56 bytes are searched, actual search range might be 4 times too small.15:51
ssbsearch range looks okay as dfu_buffer is uint32[], but yes, "i" needs to be incremented by 4, as it seems.16:25
*** AnimaInvicta has joined #tomu17:00
*** srk has quit IRC18:51
*** NoGodDamnIdea has joined #tomu18:59
*** rj has quit IRC19:20
*** srk has joined #tomu20:04
*** thepatr1ck has quit IRC21:35
*** englishm has quit IRC21:36
*** johnhmay has quit IRC21:36
*** thepatr1ck has joined #tomu21:37
*** englishm has joined #tomu21:38
*** johnhmay has joined #tomu21:39
*** AnimaInvicta has left #tomu23:32

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!