AFNI Message Board

Dear AFNI users-

We are very pleased to announce that the new AFNI Message Board framework is up! Please join us at:

https://discuss.afni.nimh.nih.gov

Existing user accounts have been migrated, so returning users can login by requesting a password reset. New users can create accounts, as well, through a standard account creation process. Please note that these setup emails might initially go to spam folders (esp. for NIH users!), so please check those locations in the beginning.

The current Message Board discussion threads have been migrated to the new framework. The current Message Board will remain visible, but read-only, for a little while.

Sincerely, AFNI HQ

History of AFNI updates  

|
September 21, 2013 11:23AM
Julian Taylor (of Debian and Ubuntu fame) suggested to use cppcheck to catch those more reliably than a silly grep... unfortunately it crashed on me at 60% through the code base (choked on count.c) but meanwhile it picked up 1 more:

[SUMA/SUMA_MiscFunc.c:9883]: (error) Undefined behavior: Variable 'buf1' is used as parameter and destination in s[n]printf().

It seems to pick up more of problematic cases (some still might be false positives), which you can review in [www.onerussian.com] (just grep for error and ignore "Please report this to Cppcheck developers" ones)

Hope this would be of help
Subject Author Posted

undefined behavior of sprintf(buf, "%s", buf)

yarikoptic September 19, 2013 10:45PM

Re: undefined behavior of sprintf(buf, "%s", buf)

Bob Cox September 20, 2013 06:39AM

Re: undefined behavior of sprintf(buf, "%s", buf)

yarikoptic September 20, 2013 02:21PM

Re: undefined behavior of sprintf(buf, "%s", buf)

Bob Cox September 20, 2013 02:42PM

Re: undefined behavior of sprintf(buf, "%s", buf)

yarikoptic September 21, 2013 07:10PM

Re: undefined behavior of sprintf(buf, "%s", buf)

yarikoptic September 21, 2013 11:23AM