← Back to team overview

linux-traipu team mailing list archive

[Bug 986015] Re: Uninitialized variable in libdrizzle

 

Hey all,

Any update on this?

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/986015

Title:
  Uninitialized variable in libdrizzle

Status in A Lightweight SQL Database for Cloud Infrastructure and Web Applications:
  New

Bug description:
  In libdrizzle/conn.cc's drizzle_state_connecting(drizzle_con_st *con),
  the int variable error in line 1338 is not initialized.

  Most of the times, the random value assigned is != 0, thus entering
  the block from lines 1363 - 1369. This leads to connections not being
  made and erroring out.

  Line 1338 should be: 
  int error = 0;

  This is the cause of the gearmand bug:
  https://bugs.launchpad.net/gearmand/+bug/955559

To manage notifications about this bug go to:
https://bugs.launchpad.net/drizzle/+bug/986015/+subscriptions


References