How Not To Code

C, C++, C#, Java bad practices: learn how to make a good code by bad example

Skip to content
  • Home
  • Bug of the month
  • How to use PVS-Studio for Free
  • Free resources
  • About
Search

Bug of the month

Apache Hive

15.08.201905.09.2019 / hownot2code / Leave a comment

hive-logo-400

Null Pointer Exception
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

IntelliJ IDEA

29.01.2019 / hownot2code / Leave a comment

intellij-519-d4ff21c469

A typo
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Amazon Web Services SDK

25.01.201930.01.2019 / hownot2code / Leave a comment

8015.aws_logo_cmyk_183d6be6

Check if the string contains itself
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

FreeSWITCH

21.12.201829.01.2019 / hownot2code / Leave a comment

freeswitch

Unchecked input data
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

NCBI Genome Workbench

28.11.201829.01.2019 / hownot2code / Leave a comment

firstscreen_still

Dangerous optimization (a vulnerability)
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Infer.NET

12.11.201830.01.2019 / hownot2code / Leave a comment

logo_with_text

Potential null dereference
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Brackets that didn’t help

01.11.201801.11.2018 / hownot2code / 1 Comment

A guy sent an email to our support saying that the analyzer was producing four false positives at once on one line of his code.

Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Qt

30.09.201831.10.2018 / hownot2code / Leave a comment

A typo
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Android

06.09.2018 / hownot2code / Leave a comment

android-card

Conversion error between little-endian and big-endian data formats
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Amazon Lumberyard

30.07.201814.08.2018 / hownot2code / Leave a comment

A couple of memory-handling defects
Continue reading →

Share with:

  • Twitter
  • Facebook
  • Tumblr
  • Reddit
  • Email
  • Print
  • More
  • LinkedIn
  • Pinterest
  • Skype

Like this:

Like Loading...

Posts navigation

← Older posts
Follow How Not To Code on WordPress.com

Categories

  • 64-bit issues
  • Development of 64-bit C/C++ applications
  • Bugs in C# projects
  • Bugs in C/C++ projects
  • Java bugs of the month
  • C# bugs of the month
  • C/C++ bugs of the month
  • Quiz
  • Tips and tricks
  • 42 recommendations about coding in C++

Check your program and find bugs

Download PVS-Studio

Recent Posts

  • Apache Flink
  • QuantConnect Lean
  • ONLYOFFICE
  • Bouncy Castle
  • Open XML SDK

Tags

64 bit 64bit Apache array audacity Bug of the month bugs Bugs in C# projects C# C# bugs of the month C++ C++bugs clang clanguage c language code code quality coding compiler coreclr cpp cppbugs cprogramming CryEngine Csharp development development guidelines evil freebsd fun function gamedev games github haiku java Java bugs KDE4 learning libreoffice linux macro memory memset microsoft Miranda Mozilla Thunderbird notepad++ nullptr OpenMP opensource programming programming language PVS-Studio python Quiz ReactOS Roslyn security software SourceSDK space static code analysis static code analyzer structure technology Tips and tricks Tizen TortoiseGIT tutorial type VirtualBox visualstudio xamarin xenko

RSS Feed

  • RSS - Posts
Blog at WordPress.com.
Cancel
loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
%d bloggers like this: