• Buffer overflows

    From Stephen Atkins@1:342/13 to All on Tue Dec 29 09:53:30 2015
    So something in my install is broken. I recomplied v1.0.4 and installed it and
    I'm getting the same buffer overflows with mbout stat. I'm running Linux Mint
    17.3. All packages are up to date. A gcc -v gives the following:

    mbse@dionysis ~/src/mbsebbs-1.0.4 $ gcc -v
    Using built-in specs.
    COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
    Target: x86_64-linux-gnu
    Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
    Thread model: posix
    gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04)

    You can see the buffer overflow message in a previous message I posted. If any
    one can see where my error might be found please let me know. Thanks.

    Stephen





    ---
    The Bit Bucket BBS - telnet://bbs.thebitbucket.ca

    --- MBSE BBS v1.0.4 (GNU/Linux-x86_64)
    * Origin: The Bit Bucket BBS (1:342/13)
  • From Vince Coen@2:250/1 to Stephen Atkins on Tue Dec 29 23:13:18 2015
    Hello Stephen!

    Tuesday December 29 2015 09:53, you wrote to All:

    So something in my install is broken. I recomplied v1.0.4 and
    installed it and I'm getting the same buffer overflows with mbout
    stat. I'm running Linux Mint 17.3. All packages are up to date. A
    gcc -v gives the following:

    The current version is 1.0.06 so you might want to download the latest and try again BUT after ./configure run

    make > build.log 2>build.err

    and look at the output of less build.err and if empty look at build.log and check towards the end to verify that you have no messages inducating a possible
    problem.

    The info you have supplied has limited information other than you are running 4.8 of the gcc compiler not what version of the other mbse required requisite packages.



    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Stephen Atkins@1:342/13 to All on Tue Jan 5 09:29:34 2016
    So I created a virtualbox of arch linux. I just got the base and base-devel installed. Then downloaded the MBSE source for 1.0.6 and did the SETUP.sh and then a configure and make then make install. After remembering to set the MBSE_ROOT it all worked well. I then copied over all of my BBS files and did some tests. I wasn't getting any buffer overflow errors anywhere where I was before.

    So by the looks of things I'm going to be switching to arch linux. It's not my
    favorite distro but it has the best of both the package management of Ubuntu/Mint (just no good graphical one) and the customization like Gentoo (just doesn't compile the program on the fly). I maybe should have went with Slackware. It's been 10 years since I ran that one.

    I'm hoping to have most everything up and running in a couple of days. It's just going to take a while to get everything moved over and setup (like DNS and
    DHCP for my internal network) Plus I need to setup a nice X11 environment again.

    Stephen


    ---
    The Bit Bucket BBS - telnet://bbs.thebitbucket.ca

    --- MBSE BBS v1.0.4 (GNU/Linux-x86_64)
    * Origin: The Bit Bucket BBS (1:342/13)