[petsc-dev] PETSc blame digest (next) 2018-03-05

Smith, Barry F. bsmith at mcs.anl.gov
Mon Mar 5 09:43:14 CST 2018


   Fixed in master and next (it was actually fixed already in master but did not propagate up to next as quickly as it should have).


> On Mar 5, 2018, at 9:10 AM, Jed Brown <jed at 59A2.org> wrote:
> 
> These warnings are actually attributable to this commit.
> 
> commit 153a8027956d231343955b351a2c77b7b409abeb
> Author: Barry Smith <bsmith at mcs.anl.gov>
> Date:   Fri Mar 2 20:16:55 2018 -0600
> 
>    Redefine how the n in PetscStrncat() works to make it more useful and not require tracking the current string size
> 
>    Commit-type: feature
> 
> 
> Barry, with PetscStrncpy() actually reflecting strlcpy() semantics,
> should it also be renamed?
> 
> PETSc checkBuilds <petsc-checkbuilds at mcs.anl.gov> writes:
> 
>> Dear PETSc developer,
>> 
>> This email contains listings of contributions attributed to you by
>> `git blame` that caused compiler errors or warnings in PETSc automated
>> testing.  Follow the links to see the full log files. Please attempt to fix
>> the issues promptly or let us know at petsc-dev at mcs.anl.gov if you are unable
>> to resolve the issues.
>> 
>> Thanks,
>>  The PETSc development team
>> 
>> ----
>> 
>> warnings attributed to commit https://bitbucket.org/petsc/petsc/commits/13f021e
>> Fix some buffer overflows for getting a display.
>> 
>>  src/sys/utils/pdisplay.c:136
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-cmplx-single_steamroller.log]
>>      /sandbox/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-dbg-quad_churn.log]
>>      /sandbox/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-gcov_cg.log]
>>      /sandbox/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-pkgs-cxx-mlib_el6.log]
>>      /home/sandbox/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-freebsd-pkgs-opt_wii.log]
>>      /usr/home/balay/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-pkgs-64idx_thrash.log]
>>      /sandbox/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-osx-10.6-cxx-cmplx-pkgs-dbg_ipro.log]
>>      /Users/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-opt-cxx-quad_grind.log]
>>      /sandbox/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-c-exodus-dbg-builder_es.log]
>>      /sandbox/petsc/petsc.next-3/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-xsdk-dbg_cg.log]
>>      /sandbox/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-cuda-double_es.log]
>>      /sandbox/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-matlab-ilp64-gcov_thrash.log]
>>      /sandbox/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-pkgs-opt_crank.log]
>>      /sandbox/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-viennacl_es.log]
>>      /sandbox/petsc/petsc.next-4/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-osx-xsdk-opt_ipro.log]
>>      /Users/petsc/petsc.next-4/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-pkgs-dbg-ftn-interfaces_churn.log]
>>      /sandbox/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-pkgs-gcov_steamroller.log]
>>      /sandbox/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-freebsd-cxx-cmplx-pkgs-dbg_wii.log]
>>      /usr/home/balay/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-opt-misc_el6.log]
>>      /home/sandbox/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-osx-10.6_ipro.log]
>>      /Users/petsc/petsc.next/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-uni_crush.log]
>>      /sandbox/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-cmplx-gcov_steamroller.log]
>>      /sandbox/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-cxx-cmplx-pkgs-64idx_churn.log]
>>      /sandbox/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-without-fc_cg.log]
>>      /sandbox/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-osx-10.6-cxx-pkgs-opt_ipro.log]
>>      /Users/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-gcc-ifc-cmplx_crank.log]
>>      /sandbox/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-freebsd-cxx-pkgs-opt_wii.log]
>>      /usr/home/balay/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-linux-IPL64_thrash.log]
>>      /sandbox/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>>    [http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2018/03/05/build_next_arch-cuda-single_es.log]
>>      /sandbox/petsc/petsc.next-2/src/sys/utils/pdisplay.c:136:12: warning: unused variable 'len' [-Wunused-variable]
>> 
>> ----
>> To opt-out from receiving these messages - send a request to petsc-dev at mcs.anl.gov.



More information about the petsc-dev mailing list