Last Comment Bug 156844 - 'use of uninitialized value in string eq' warning
: 'use of uninitialized value in string eq' warning
Status: RESOLVED FIXED
:
Product: Bugzilla
Classification: Server Software
Component: Creating/Changing Bugs (show other bugs)
: 2.17
: x86 Linux
: P3 normal (vote)
: Bugzilla 2.18
Assigned To: Bradley Baetz (:bbaetz)
: default-qa
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2002-07-10 23:27 PDT by Bradley Baetz (:bbaetz)
Modified: 2012-12-18 20:46 PST (History)
1 user (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---


Attachments
patch (665 bytes, patch)
2002-07-10 23:28 PDT, Bradley Baetz (:bbaetz)
jouni: review+
jouni: review+
Details | Diff | Splinter Review

Description Bradley Baetz (:bbaetz) 2002-07-10 23:27:29 PDT
process_bug calls CheckCanChangeField based on the 'snapshot' of the bug. For
aliases, the alias column is NULL, and so we end up doing a string eq between
undef and ''.

The fix is to consider a NULL value to be an empty string for this test.
Comment 1 Bradley Baetz (:bbaetz) 2002-07-10 23:28:17 PDT
Created attachment 90917 [details] [diff] [review]
patch
Comment 2 Jouni Heikniemi 2002-07-11 03:56:55 PDT
Comment on attachment 90917 [details] [diff] [review]
patch

2xr=jouni
Comment 3 Bradley Baetz (:bbaetz) 2002-07-11 04:54:14 PDT
Checked in.

Note You need to log in before you can comment on or make changes to this bug.