Program: 50746
Project: 50746
Buggy source:
public static String createCoreDump(){
  final StringBuilder sb=new StringBuilder();
  addLine(sb,"String_Node_Str");
  addLine(sb,"String_Node_Str" + Config.get().urlConfig);
  addLine(sb,Config.get().xmlConfig);
  final Set<Object> propKeys=System.getProperties().keySet();
  addLine(sb,"String_Node_Str");
  for (  final Object key : propKeys) {
    addLine(sb,key + "String_Node_Str" + System.getProperty((String)key));
  }
  try {
    final Enumeration<NetworkInterface> enums=NetworkInterface.getNetworkInterfaces();
    while (enums.hasMoreElements()) {
      final NetworkInterface ni=enums.nextElement();
      sb.append("String_Node_Str");
      addLine(sb,"String_Node_Str" + ni.getName() + "String_Node_Str");
      final boolean isUp=invoke(true,1.6,ni,"String_Node_Str");
      final boolean supportsMulticast=invoke(true,1.6,ni,"String_Node_Str");
      addLine(sb,"String_Node_Str" + ni.getDisplayName());
      addLine(sb,"String_Node_Str" + isUp);
      addLine(sb,"String_Node_Str" + supportsMulticast);
      final Enumeration<InetAddress> e=ni.getInetAddresses();
      while (e.hasMoreElements()) {
        try {
          final InetAddress inetAddress=e.nextElement();
          addLine(1,sb,"String_Node_Str");
          final boolean ipv4=(inetAddress instanceof Inet4Address);
          final byte[] ip=inetAddress.getAddress();
          final String address=inetAddress.getHostAddress();
          addLine(1,sb,"String_Node_Str" + inetAddress);
          addLine(1,sb,"String_Node_Str" + address);
          addLine(1,sb,"String_Node_Str" + ipv4);
          if (ipv4) {
            addLine(1,sb,"String_Node_Str" + new Address(address,-1,true));
          }
          addLine(1,sb,"String_Node_Str" + inetAddress.isMulticastAddress());
          addLine(1,sb,"String_Node_Str" + inetAddress.isLoopbackAddress());
          if (Config.get().interfaces.enabled) {
            addLine(1,sb,"String_Node_Str" + matchAddress(address));
          }
        }
 catch (        final Exception ex) {
          addLine(1,sb,"String_Node_Str" + ex.getMessage());
        }
      }
    }
  }
 catch (  final Exception e1) {
    e1.printStackTrace();
  }
  return sb.toString();
}

Fixed version (ground truth):
public static String createCoreDump(){
  final StringBuilder sb=new StringBuilder();
  addLine(sb,"String_Node_Str");
  addLine(sb,"String_Node_Str" + Config.get().urlConfig);
  addLine(sb,Config.get().xmlConfig);
  final Set<Object> propKeys=System.getProperties().keySet();
  addLine(sb,"String_Node_Str");
  for (  final Object key : propKeys) {
    addLine(sb,key + "String_Node_Str" + System.getProperty((String)key));
  }
  try {
    final Enumeration<NetworkInterface> enums=NetworkInterface.getNetworkInterfaces();
    while (enums.hasMoreElements()) {
      final NetworkInterface ni=enums.nextElement();
      sb.append("String_Node_Str");
      addLine(sb,"String_Node_Str" + ni.getName() + "String_Node_Str");
      final boolean isUp=invoke(true,1.6,ni,"String_Node_Str");
      final boolean supportsMulticast=invoke(true,1.6,ni,"String_Node_Str");
      addLine(sb,"String_Node_Str" + ni.getDisplayName());
      addLine(sb,"String_Node_Str" + isUp);
      addLine(sb,"String_Node_Str" + supportsMulticast);
      final Enumeration<InetAddress> e=ni.getInetAddresses();
      while (e.hasMoreElements()) {
        try {
          final InetAddress inetAddress=e.nextElement();
          addLine(1,sb,"String_Node_Str");
          final boolean ipv4=(inetAddress instanceof Inet4Address);
          final String address=inetAddress.getHostAddress();
          addLine(1,sb,"String_Node_Str" + inetAddress);
          addLine(1,sb,"String_Node_Str" + address);
          addLine(1,sb,"String_Node_Str" + ipv4);
          if (ipv4) {
            addLine(1,sb,"String_Node_Str" + new Address(address,-1,true));
          }
          addLine(1,sb,"String_Node_Str" + inetAddress.isMulticastAddress());
          addLine(1,sb,"String_Node_Str" + inetAddress.isLoopbackAddress());
          if (Config.get().interfaces.enabled) {
            addLine(1,sb,"String_Node_Str" + matchAddress(address));
          }
        }
 catch (        final Exception ex) {
          addLine(1,sb,"String_Node_Str" + ex.getMessage());
        }
      }
    }
  }
 catch (  final Exception e1) {
    e1.printStackTrace();
  }
  return sb.toString();
}